Add note to laravel-activitylog integration (#177)

* Update spatie.blade.md

* Add markdown style

* Use "For example" instead of "E.g."

Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>

* Update note

* Minor fix

* Rephrase ActivityLog note

Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
lukinovec 2022-08-10 16:09:38 +02:00 committed by GitHub
parent e6e3fc3a23
commit 32235fa106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,9 @@ section: content
## **laravel-activitylog** {#laravel-activitylog}
> Note: The package requires logged models to have integer IDs. We recommend extra security measures when using integer IDs for tenants. Because the IDs become enumerable, they get vulnerable to enumeration attacks (which UUIDs are safe against).
> For example, to use the LogsActivity trait on the Tenant model, modify the model to have an integer ID.
### For the tenant app: {#for-the-tenant-app}
- Set the `database_connection` key in `config/activitylog.php` to `null`. This makes activitylog use the default connection.