massive dumps
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-12-06 01:59:27 +01:00
parent f63684d8e8
commit 64bd659c92

View File

@ -53,7 +53,7 @@ class SignupApi(Resource):
db.session.add(user)
except Exception as e:
current_app.logger.warning(e)
abort(503, "user already exists")
abort(401, "user already exists")
expires = datetime.timedelta(days=7)
access_token = create_access_token(identity=str(user.name), expires_delta=expires)