rappasoft / laravel-authentication-log

Log user authentication details and send new device notifications.
MIT License
783 stars 95 forks source link

Update AuthenticationLoggable.php #44

Closed antweny closed 2 years ago

antweny commented 2 years ago

add default model that will be returned if the given relationship is null.

rappasoft commented 2 years ago

It makes more sense to be null so that people can rely on checking its existence when using the package. You can override the default in your user model if you want.