Merge pull request #1072 from linuxserver/fix/895

fix: Public access to front also applies to tags
This commit is contained in:
KodeStar 2022-12-15 19:48:54 +00:00 committed by GitHub
commit 52f59afe63
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -33,9 +33,7 @@ class CheckAllowed
} }
// Public access to frontpage // Public access to frontpage
if ($route == 'dash') { if ($route === 'dash' || $route === 'tags.show') {
//print_r(User::all());
//die("here".var_dump($current_user->password));
if ((bool)$current_user->public_front === true) { if ((bool)$current_user->public_front === true) {
return $next($request); return $next($request);
} }

File diff suppressed because one or more lines are too long