remove token limit

This commit is contained in:
Romulus21
2023-09-12 22:30:35 +02:00
parent e7ee25b6c6
commit d9e6de96e8

View File

@@ -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']);
}