Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

notice not working well #22

Closed
FleiTec opened this issue May 9, 2020 · 1 comment
Closed

notice not working well #22

FleiTec opened this issue May 9, 2020 · 1 comment

Comments

@FleiTec
Copy link

FleiTec commented May 9, 2020

Hi.
When i do all like installation guide in readme. I got an error:

Facade\Ignition\Exceptions\ViewException Undefined variable: url (View: /var/www/html/beta9/resources/views/vendor/laraguard/notice.blade.php) http://domain.com/2fa-required Hide solutions $url is undefined Make the variable optional in the blade template. Replace {{ $url }} with {{ $url ?? '' }}

Any ideas?

Thanks

@DarkGhostHunter
Copy link
Owner

Ah, the Middleware redirects to the view, but the view doesn't gets the $url. I'll fix it by making it optional, since the idea is to have a controller behind to handle the view and include the URL variable to where the user can enable 2FA.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants