fix: Public access to front also applies to tags
This commit is contained in:
parent
3c9f361f5f
commit
aa886e4f77
2 changed files with 2 additions and 4 deletions
|
@ -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
Loading…
Reference in a new issue