Skip to content

Commit 86db129

Browse files
author
FalkWolsky
committed
Enable admin@localhost as eMail for admin purpose
1 parent a057923 commit 86db129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/packages/lowcoder/src/util/stringUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export const checkPhoneValid = (value: string): boolean => {
8484
};
8585

8686
export const checkEmailValid = (value: string): boolean => {
87-
return EMAIL_PATTERN.test(value);
87+
return value === "admin@localhost" || EMAIL_PATTERN.test(value);
8888
};
8989

9090
export const getNextEntityName = (

0 commit comments

Comments
 (0)