From 64bd659c92e47fdaa905e5b88a99b68445017626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 6 Dec 2020 01:59:27 +0100 Subject: [PATCH] massive dumps --- src/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources.py b/src/resources.py index 9376e00..ac9cbf8 100644 --- a/src/resources.py +++ b/src/resources.py @@ -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)