Skip to content

Commit b3d6ccb

Browse files
committed
Readme
1 parent f200554 commit b3d6ccb

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ use Illuminate\Foundation\Auth\User as Authenticatable;
9292

9393
class User extends Authenticatable
9494
{
95-
use Notifiable, AuthenticationLogable;
95+
use Notifiable, AuthenticationLoggable;
9696
}
9797
```
9898

@@ -174,9 +174,9 @@ You can also schedule the command at an interval:
174174
$schedule->command('authentication-log:purge')->monthly();
175175
```
176176

177-
### Displaying The Log
177+
## Displaying The Log
178178

179-
You can set up your own views and paginate the logs using the user relationship as normal, or, if you also use my [Livewire Tables](https://github.com/rappasoft/laravel-livewire-tables) plugin then here is an example table:
179+
You can set up your own views and paginate the logs using the user relationship as normal, or if you also use my [Livewire Tables](https://github.com/rappasoft/laravel-livewire-tables) plugin then here is an example table:
180180

181181
**Note:** This example uses the `jenssegers/agent` package which is included by default with Laravel Jetstream as well as `jamesmills/laravel-timezone` for displaying timezones in the users local timezone. Both are optional, modify the table to fit your needs.
182182

@@ -256,6 +256,10 @@ class AuthenticationLog extends DataTableComponent
256256
<livewire:authentication-log :user="$user" />
257257
```
258258

259+
Example:
260+
261+
![Example Log Table](https://imgur.com/B4DlN4W.png)
262+
259263
## Testing
260264

261265
```bash

0 commit comments

Comments
 (0)