mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
fix: add USER_EMAIL_NOT_CORPORATE entry to errors.php
This commit is contained in:
1 parent
ddf5d17f41
commit
fbd025d8df
1 file changed
+5
@@ -241,6 +241,11 @@ return [
|
||||
'description' => 'This email address must already be in its canonical form. Please remove aliases, tags, or provider-specific variations and try again.',
|
||||
'code' => 400,
|
||||
],
|
||||
Exception::USER_EMAIL_NOT_CORPORATE => [
|
||||
'name' => Exception::USER_EMAIL_NOT_CORPORATE,
|
||||
'description' => 'Only corporate email addresses are allowed. Please use a work email address and try again.',
|
||||
'code' => 400,
|
||||
],
|
||||
Exception::USER_PASSWORD_MISMATCH => [
|
||||
'name' => Exception::USER_PASSWORD_MISMATCH,
|
||||
'description' => 'Passwords do not match. Please check the password and confirm password.',
|
||||
|
||||
Reference in new issue
Block a user