chore: Fix SMTP sentry issue (#4883)

* Fix SMTP sentry issue
This commit is contained in:
Aswin Dev P.S 2022-06-23 02:39:04 +05:30 committed by GitHub
parent f2dd88223f
commit d5ddc9d76c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 4 deletions

View file

@ -16,3 +16,4 @@ export const isValidPassword = value => {
containsSpecialCharacter
);
};
export const isValidName = value => /^\b[\w\s]*\b$/.test(value);