fixing freedcamp issues
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user