Skip to content

Commit

Permalink
add new todo it
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Sep 27, 2023
1 parent 507612b commit eb3e0cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Middleware/Authenticate.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public function handle($request, Closure $next)

$redirectTo = admin_base_path(config('admin.auth.redirect_to', 'auth/login'));

// add refer uri for redirect todo


if (Admin::guard()->guest() && !$this->shouldPassThrough($request)) {
return redirect()->to($redirectTo);
}
Expand Down

0 comments on commit eb3e0cf

Please sign in to comment.