mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-02-21 12:10:34 +09:00
Merge pull request #1072 from linuxserver/fix/895
fix: Public access to front also applies to tags
This commit is contained in:
@@ -33,9 +33,7 @@ class CheckAllowed
|
||||
}
|
||||
|
||||
// Public access to frontpage
|
||||
if ($route == 'dash') {
|
||||
//print_r(User::all());
|
||||
//die("here".var_dump($current_user->password));
|
||||
if ($route === 'dash' || $route === 'tags.show') {
|
||||
if ((bool)$current_user->public_front === true) {
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user