Merge pull request #431 from WDI-Ideas/sayli

Sayli
This commit is contained in:
Sayli Raut
2024-08-06 19:35:48 +05:30
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ class AuthController extends Controller
function ($attribute, $value, $fail) {
$existingUser = IamPrincipal::where('email_address', $value)->where('principal_type_xid', 3)->whereNull('deleted_at')->exists();
if (!$existingUser) {
$fail('The selected email address is invalid.');
$fail('Entered e-mail address is not in our system.');
}
},
],

View File

@@ -129,7 +129,7 @@ class RestAuthApiController extends Controller
function ($attribute, $value, $fail) {
$existingUser = IamPrincipal::where('email_address', $value)->where('principal_type_xid', 4)->where('is_active', 1)->whereNull('deleted_at')->exists();
if (!$existingUser) {
$fail('The selected email address is invalid.');
$fail('Entered e-mail address is not in our system..');
}
},
],