When trying to reset the password
after submitting new passwords
it throws in laravel
The GET method is not supported for route reset-password. Supported methods: POST.
public function handle(Request $request, Closure $next): Response
{
$is_logged_in = $request->path() != '/logout';
if(!session('last_active')) {
$this->session->put('last_active', time());
} elseif(time() - $this->session->get('last_active') > $this->timeout) {
$this->session->forget('last_active');
$cookie = cookie('intend', $is_logged_in ? url()->current() : 'dashboard');
auth()->logout();
}
$is_logged_in ? $this->session->put('last_active', time()) : $this->session->forget('last_active');
return $next($request);
}
We apologize for the delay. Thank you. We will investigate the issue and provide you with a workaround. The fix will be included in the upcoming updates. Thank you for your patience.