feat: add validation for updating email on use profile (#391)

This commit is contained in:
Iniubong Obonguko
2024-07-16 06:35:34 +01:00
committed by GitHub
parent 45b6299de2
commit 1f0e7c7563
3 changed files with 24 additions and 0 deletions
@@ -1328,6 +1328,9 @@
},
"validations": {
"user_profile": {
"email": "Invalid email address"
},
"organization_name": {
"min_char": "Organization must contain 5 or more characters",
"hyphen_rule": "Organization name cannot start or end with a hyphen"