Standardize response codes in Login (#6787)

* standardizing login response codes

* playwright fix

* added translation
This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2023-01-30 18:37:03 +00:00
1 parent 1be6f192d4
commit a4bed48eaf
5 files changed
+11 -8

No files matched your search

+1
View File
@@ -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",