Skip to content

Commit

Permalink
fix laravel-admin-extensions/multi-language/ laravel-admin-extensions#9
Browse files Browse the repository at this point in the history
  • Loading branch information
keoy7am committed Apr 27, 2021
1 parent 6694bae commit 0e8d2a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Middlewares/MultiLanguageMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class MultiLanguageMiddleware
{
public function handle($request, Closure $next)
{
config(['admin.auth.excepts' => ['auth/login','locale']]);

$languages = MultiLanguage::config('languages');
$cookie_name = MultiLanguage::config('cookie-name', 'locale');

Expand Down

0 comments on commit 0e8d2a6

Please sign in to comment.