mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
abort 403
This commit is contained in:
@@ -44,6 +44,8 @@ class OrangePillForm extends Component
|
||||
'date' => now(),
|
||||
'amount' => 1,
|
||||
]);
|
||||
} elseif ($this->orangePill->user_id !== auth()->id()) {
|
||||
abort(403);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user