fixing freedcamp issues

This commit is contained in:
Ritikesh yadav
2024-04-15 13:43:51 +05:30
parent 8365efca21
commit 2953c72796
28 changed files with 722 additions and 709 deletions

View File

@@ -29,7 +29,7 @@ class AdminLoginController extends Controller
$userPassword = User::where('email', $email)->whereIn('role', [1,2])->value('password');
if (!$userPassword) {
return response()->json(['status' => 400, 'message' => 'Invalid Credentials!']);
return response()->json(['status' => 400, 'message' => 'Please enter registered email!']);
};
if (Hash::check($password, $userPassword)) {