Skip to content

Commit

Permalink
update confirmable time
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 14, 2020
1 parent 9e9d154 commit f0a6477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/ConfirmedPasswordStatusController.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ConfirmedPasswordStatusController extends Controller
public function show(Request $request)
{
return response()->json([
'confirmed' => (time() - $request->session()->get('auth.password_confirmed_at', 0)) < $request->input('seconds', 900),
'confirmed' => (time() - $request->session()->get('auth.password_confirmed_at', 0)) < $request->input('seconds', config('auth.password_timeout', 900)),
]);
}
}

0 comments on commit f0a6477

Please sign in to comment.