mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-14 12:06:06 +00:00
Fix migration script and LGTM
This commit is contained in:
@ -13,6 +13,7 @@ def confirm_token(token, expiration=86400):
|
||||
email = serializer.loads(token,
|
||||
salt=current_app.config['SALT'],
|
||||
max_age=expiration)
|
||||
except:
|
||||
except Exception as e:
|
||||
current_app.logger.debug(e)
|
||||
return False
|
||||
return email
|
||||
|
Reference in New Issue
Block a user