fix: add USER_EMAIL_NOT_CORPORATE entry to errors.php

This commit is contained in:
harsh mahajan committed 2026-06-08 17:06:52 +05:30
1 parent ddf5d17f41
commit fbd025d8df
1 file changed
+5
+5
View File
@@ -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.',