Ensure that a valid error message should be displayed for an incorrect user or password.

This commit is contained in:
Akshay Joshi
2020-09-11 11:26:47 +05:30
parent 1bd0a0edf5
commit ed1bd74301
2 changed files with 6 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ from pgadmin.model import User
class BaseAuthentication(object):
DEFAULT_MSG = {
'USER_DOES_NOT_EXIST': 'Specified user does not exist',
'USER_DOES_NOT_EXIST': 'Incorrect username or password.',
'LOGIN_FAILED': 'Login failed',
'EMAIL_NOT_PROVIDED': 'Email/Username not provided',
'PASSWORD_NOT_PROVIDED': 'Password not provided'