remove token limit
This commit is contained in:
@@ -115,6 +115,8 @@ class AuthController extends Controller
|
||||
$user = User::whereEmail($data['email'])->first();
|
||||
$user->update(['password' => Hash::make($data['password'])]);
|
||||
|
||||
$token->delete();
|
||||
|
||||
return response()->json(['message' => 'New password success']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user