This is get_or_create function: def get_or_create_key(filename=None): request = current.request if not filename: filename = os.path.join(request.folder,'private','auth.key') if os.path.exists(filename): key = open(filename,'r').read().strip() else: key = web2py_uuid() open(filename,'w').write(key) return key
There is no code in web2py that deletes databases. On Feb 8, 1:03 am, pbreit <pbreitenb...@gmail.com> wrote: > Hmmm, I would not think that would happen. > > Mine just looks like this: > > auth = Auth(db) > auth.settings.hmac_key = 'sha512:5669f-51df-5-9e-4' > > Possible the get_or_create_key() function is the culprit but I don't know > why that would happen.