mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
lnbits paid articles added
This commit is contained in:
@@ -33,6 +33,9 @@ class InternArticleView extends Component
|
||||
->count() > 0 && !auth()->check()) {
|
||||
abort(403, __('Sorry! You are not authorized to perform this action.'));
|
||||
}
|
||||
if ($this->libraryItem->sats && !auth()->check()) {
|
||||
return to_route('article.overview');
|
||||
}
|
||||
if (auth()->check() && auth()
|
||||
->user()
|
||||
->paidArticles()
|
||||
|
||||
Reference in New Issue
Block a user