refactor(auth): replace myth/auth with codeigniter/shield + define new roles

closes #222
This commit is contained in:
Yassine Doghri 2022-10-15 11:22:08 +00:00
commit c1287cbe6c
213 changed files with 3366 additions and 3204 deletions

View file

@ -24,7 +24,8 @@ class MapController extends BaseController
'map',
service('request')
->getLocale(),
can_user_interact() ? 'authenticated' : null,
auth()
->loggedIn() ? 'authenticated' : null,
]),
);