mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
pleb alert!
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Listeners;
|
||||
|
||||
use App\Events\PlebLoggedInEvent;
|
||||
use App\Gamify\Points\LoggedIn;
|
||||
|
||||
class AddLoginReputation
|
||||
@@ -25,5 +26,6 @@ class AddLoginReputation
|
||||
public function handle($event)
|
||||
{
|
||||
$event->user->givePoint(new LoggedIn($event->user));
|
||||
event(new PlebLoggedInEvent($event->user->name));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user