diff options
author | Parker <contact@pkrm.dev> | 2024-09-20 18:07:03 -0500 |
---|---|---|
committer | Parker <contact@pkrm.dev> | 2024-09-20 18:07:03 -0500 |
commit | 1acb17b3afcad00c09b01afcf01c5bf5edbc9d1c (patch) | |
tree | f45f1a2d27766ff950c8ad09bdc6905bdda855f5 /app/main.py | |
parent | f7d383aa7b86026ebbf9611fccc61454744fbf15 (diff) |
Don't explicitly say the username is in use
Diffstat (limited to 'app/main.py')
-rw-r--r-- | app/main.py | 2 |
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() |