Expand notifications.

This commit is contained in:
James Cole
2024-12-22 06:44:01 +01:00
parent bffa0088b4
commit 0e2e155cc6
28 changed files with 175 additions and 38 deletions

View File

@@ -34,15 +34,13 @@ class DetectedNewIPAddress extends Event
{
use SerializesModels;
public string $ipAddress;
public User $user;
/**
* Create a new event instance. This event is triggered when a new user registers.
*/
public function __construct(User $user, string $ipAddress)
public function __construct(User $user)
{
$this->ipAddress = $ipAddress;
$this->user = $user;
}
}