File tree Expand file tree Collapse file tree
content/collections/pages Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -597,6 +597,29 @@ The `urlencode` and `rawurlencode` modifiers now encode forward slashes (`/`). I
597597
598598The `logged_in` variable now uses the authentication guard configured in Statamic's `users` config file, rather than the default Laravel guard.
599599
600+ ` ` ` php
601+ // config/auth.php [tl! **]
602+ return [
603+ 'defaults' => [ // [tl! **]
604+ // v5 used this 👇 [tl! -- **]
605+ 'guard' => env('AUTH_GUARD', 'web'), // [tl! **]
606+ 'passwords' => env('AUTH_PASSWORD_BROKER', 'users'),
607+ ],
608+ ]
609+
610+ // config/statamic/users.php [tl! **]
611+ return [
612+ 'guards' => [ // [tl! **]
613+ 'cp' => 'web',
614+ // v6 uses this 👇 [tl! ++ **]
615+ 'web' => 'web', // [tl! **]
616+ ],
617+ ];
618+ ` ` `
619+
620+ In the majority of cases, this results in the exact same behavior.
621+
622+
600623# ## Full-measure Static caching
601624**Affects apps that use full-measure static caching and customize the JS behavior**
602625
You can’t perform that action at this time.
0 commit comments