mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
auth check
This commit is contained in:
@@ -13,6 +13,7 @@ class LaravelEcho extends Component
|
||||
|
||||
public function plebLoggedIn($data)
|
||||
{
|
||||
if (auth()->check()) {
|
||||
$this->notification()
|
||||
->confirm([
|
||||
'img' => $data['img'],
|
||||
@@ -26,3 +27,4 @@ class LaravelEcho extends Component
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user