Skip to content

Commit

Permalink
Merge branch 'PunchRockgroin-master' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
rappasoft committed Feb 20, 2021
2 parents 6dd03b2 + 41a98a2 commit 4c3ab04
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function handle($request, Closure $next, $status = 'enabled')
}

// If the backend does not require 2FA than continue
if ($status === 'enabled' && $request->is('admin/*') && ! config('boilerplate.access.user.admin_requires_2fa')) {
if ($status === 'enabled' && $request->is('admin*') && ! config('boilerplate.access.user.admin_requires_2fa')) {
return $next($request);
}

Expand Down

0 comments on commit 4c3ab04

Please sign in to comment.