diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-09-09 10:20:31 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-09-09 10:20:31 +0530 |
commit | 8f2180401fd05ba63633d9559dc156f5ca1573ba (patch) | |
tree | f3d2f59b04d5940bc5028904d6ce9d551aace86a /errors/errors.go | |
parent | cba9f19ba50c60576a5961e89c24caefca52d740 (diff) |
logging in with either username or emailv0.0.6
Diffstat (limited to 'errors/errors.go')
-rw-r--r-- | errors/errors.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/errors/errors.go b/errors/errors.go index 3f1efc5..b5f4f63 100644 --- a/errors/errors.go +++ b/errors/errors.go @@ -38,6 +38,7 @@ var ( ErrInvalidGSTPercentage = errors.New("Invalid GST Percentage") ErrPasswordTooShort = errors.New("Password Is Too Short") ErrPasswordTooLong = errors.New("Password Is Too Long") + ErrInvalidLoginMethod = errors.New("Login Method Can Only Be 'email' Or 'username'") // 401 ErrWrongPassword = errors.New("Wrong Password") |