You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/docs/frontend/blade.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -414,6 +414,8 @@ The `@auth` and `@guest` directives may be used to quickly determine if the curr
414
414
@endguest
415
415
```
416
416
417
+
`@guest` will be `true` if leaf auth is not installed and `@auth` will be `false`, which makes them safe to use even if you don't have Leaf Auth installed.
418
+
417
419
### Roles & Permissions
418
420
419
421
You can use the `@is` directive to check if the current user has a specific role:
0 commit comments