Authenticated Page Logout Secured and authenticated page demo
Redirecting in 5 seconds...', 'danger') : null ?> = get('src') === 'login' ? \App\Content::printAlert('You were redirected to this page because you are already authenticated.', 'success') : null ?>
Logged in user - = get('src') === 'social' ? 'Social Auth' : 'Basic' ?>
Authenticated page uses the global $_user variable after requiring the init.auth.php. Visit the Authentication Docs to learn more.
You can change password by running the command below.
php = ROOT_PATH ?>/utils/set_password.php --username== $user->username ?? 'USERNAME' ?> --password=NEW_PASSWORD
Social Login
You're authenticated through social login. We are NOT storing your information for this demo. The user below is a placeholder after confirming your identity.
You're authenticated through social login. We are NOT storing your information for this demo. The user below is a placeholder after confirming your identity.
= $_user->getName() ?>
= $_user->id ?>
= $_user->username ?>