Skip to content
Snippets Groups Projects
Unverified Commit 216ef784 authored by Maxime FRIESS's avatar Maxime FRIESS :blue_heart:
Browse files

[auth] Disable email validation requirement

parent 2cc58d41
Branches master
No related merge requests found
Pipeline #107215 failed with stages
in 54 seconds
......@@ -68,11 +68,14 @@ public function login(LoginRequest $request)
$user = Auth::guard('client')->user();
// TODO: RE-enable when it works again
/*
if (!$user->hasVerifiedEmail()) {
return response()->json([
'message' => 'Please verify your email',
], 401);
}
*/
return response()->json([
'user' => $user->makeVisible('email'),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment