Merge pull request #1072 from linuxserver/fix/895
fix: Public access to front also applies to tags
This commit is contained in:
commit
52f59afe63
2 changed files with 2 additions and 4 deletions
|
@ -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
Loading…
Reference in a new issue