aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.py b/app/main.py
index 2556aeb..5672807 100644
--- a/app/main.py
+++ b/app/main.py
@@ -82,7 +82,7 @@ def signup():
user = db.query(User).filter(User.username == username).first()
if user:
db.close()
- return {"status": "User already exists"}
+ return {"status": "Username not available"}
# Add information to the database
hashed_password = bcrypt.hashpw(
password.encode("utf-8"), bcrypt.gensalt()