drop pdbs
This commit is contained in:
parent
baa909ed94
commit
22e532f1cb
|
@ -146,7 +146,6 @@ class User(AbstractBaseUser):
|
|||
return base64.b64encode(value_enc).decode('utf-8')
|
||||
|
||||
def decrypt_data(self, data, password):
|
||||
# import pdb; pdb.set_trace()
|
||||
sb = self.get_secret_box(password)
|
||||
value = base64.b64decode(data.encode('utf-8'))
|
||||
return sb.decrypt(value).decode('utf-8')
|
||||
|
|
Loading…
Reference in New Issue