]> BookStack Code Mirror - bookstack/blobdiff - resources/views/common/header.blade.php
Merge branch 'feature/public-login-redirect' of git://github.com/Xiphoseer/BookStack...
[bookstack] / resources / views / common / header.blade.php
index 524e4a11af000be035e647b7073900fdfa5aef93..3004acf3c0a2f8f157caad1229b7b6c75cfb61cc 100644 (file)
@@ -45,7 +45,7 @@
                         @if(setting('registration-enabled') && config('auth.method') === 'standard')
                             <a href="{{ url('/register') }}">@icon('new-user'){{ trans('auth.sign_up') }}</a>
                         @endif
-                        <a href="{{ url('/login') }}">@icon('login'){{ trans('auth.log_in') }}</a>
+                        <a href="{{ action('Auth\LoginController@getLogin', ['intended' => url()->current()]) }}">@icon('login'){{ trans('auth.log_in') }}</a>
                     @endif
                 </div>
                 @if(signedInUser())