mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
back buttons
This commit is contained in:
@@ -17,7 +17,7 @@ class InternArticleView extends Component
|
||||
'libraries',
|
||||
]);
|
||||
if ($this->libraryItem->libraries->where('is_public', false)
|
||||
->count() > 0) {
|
||||
->count() > 0 && !auth()->check()) {
|
||||
abort(403, __('Sorry! You are not authorized to perform this action.'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user