fixed some typos

master
Kostanjevec 2022-07-07 18:14:21 +02:00
parent 2a01481440
commit c77d7b1cff
1 changed files with 3 additions and 3 deletions

View File

@ -28,11 +28,11 @@ def register():
elif not password:
error = 'Password is required.'
elif not mail:
error = 'Please enter your email adress'
error = 'Please enter your email adress.'
elif dbsession.query(User).filter(User.username == username).first() != None:
error = "Username already exists, please choose another one"
error = "Username already exists, please choose another one."
elif dbsession.query(User).filter(User.email == mail).first() != None:
error = "This email adress is already in use, please choose another one"
error = "This email adress is already in use, please choose another one."
if error is None:
try: