Standardize response codes in Login (#6787)
* standardizing login response codes * playwright fix * added translation
This commit is contained in:
1 parent
1be6f192d4
commit
a4bed48eaf
5 files changed
+11
-8
No files matched your search
@@ -73,6 +73,7 @@ export const ensureSession = async (ctxOrReq: CtxOrReq) => {
|
||||
};
|
||||
|
||||
export enum ErrorCode {
|
||||
IncorrectUsernamePassword = "incorrect-username-password",
|
||||
UserNotFound = "user-not-found",
|
||||
IncorrectPassword = "incorrect-password",
|
||||
UserMissingPassword = "missing-password",
|
||||
|
||||
Reference in new issue
Block a user