diff --git a/flaskfdx/auth.py b/flaskfdx/auth.py index f6cafb7..74c22e4 100644 --- a/flaskfdx/auth.py +++ b/flaskfdx/auth.py @@ -19,7 +19,7 @@ def register(): error = None if not userid: - error = 'Username if required.' + error = 'Userid is required.' elif not email: error = 'Email is required.' elif not password: @@ -53,9 +53,9 @@ def login(): ).fetchone() if user is None: - error = 'Incorrect username.' + error = 'Userid or Password incorrect.' elif not check_password_hash(user['password'], password): - error = 'Incorrect password.' + error = 'Userid or Password incorrect.' if error is None: session.clear() diff --git a/flaskfdx/templates/auth/login.html b/flaskfdx/templates/auth/login.html index 8795ffa..cd174bc 100644 --- a/flaskfdx/templates/auth/login.html +++ b/flaskfdx/templates/auth/login.html @@ -8,8 +8,6 @@