diff --git a/data/users.py b/data/users.py index bcd0fad62..628f5a0c3 100644 --- a/data/users.py +++ b/data/users.py @@ -148,9 +148,9 @@ class UserAuthentication(object): from app import app app_secret_key = app.config['SECRET_KEY'] - # First try parsing the key as a float. + # First try parsing the key as an int. try: - secret_key = float(app_secret_key) + secret_key = int(app_secret_key) except ValueError: secret_key = app_secret_key