Skip to content

Commit

Permalink
don't save intended url
Browse files Browse the repository at this point in the history
  • Loading branch information
zoryamba authored and endihunter committed Jul 1, 2019
1 parent 6952359 commit 3456940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/Authenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function handle(Request $request, Closure $next)
auth('admin')->logout();

return response()
->redirectGuest($this->loginUrl)
->redirectTo($this->loginUrl)
->with('redirect', $request->url());
}

Expand Down

0 comments on commit 3456940

Please sign in to comment.