You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit the file "Response.php", located in "vendor\pragmarx\google2fa-laravel\src\Support\Response.php"
use Illuminate\Support\Facades\Auth;
private function getView()
{
/** Get current Guard name */
$guard = Auth::getDefaultDriver();
if ($guard == 'admin') {
/** Guard Admin is a Module Admin */
return view($this->config('view_admin'));
}
if ($guard == 'web') {
/** Guard User is a module User*/
return view($this->config('view_user'));
}
}
use Illuminate\Support\Facades\Auth;
///////////////////////////////////////////////////////////////////////////////////////////////////////////
Edit the file "google2fa.php", located in "config\google2fa.php"
/*
*/
'view_user' => 'user::auth.2fa_verify',
/*
*/
'view_admin' => 'admin::auth.2fa_verify',
Summary:
When the url starts with the module name, the getView() function redirects to each module's view.
The text was updated successfully, but these errors were encountered: