open20 / open2-cms-module-userauth
Authsystem with username and password for a given cms page area.
Installs: 152
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:cms-module
Requires (Dev)
- luyadev/luya-testsuite: ^1.0
- open20/amos-admin: ^2.9.0
- open20/amos-core: >=1.29.1
- dev-master
- 1.6.0
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.1
- 1.4.0
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- dev-releases/1.6.0
- dev-releases/1.5.5
- dev-releases/1.5.4
- dev-releases/1.5.3
- dev-releases/1.5.2
- dev-releases/1.5.1
- dev-releases/1.5.0
- dev-releases/1.4.1
- dev-releases/1.4.0
- dev-releases/1.2.1
- dev-releases/1.2.0
- dev-releases/1.1.0
This package is auto-updated.
Last update: 2024-10-23 15:19:56 UTC
README
Authsystem with username and password for a given cms page area. It does not contain a registration process for new users in the frontend!.
Installation
- Install the extension through composer:
composer require amos/cms-module-userauth
- Add to the config
'modules' => [ 'userauthfrontend' => [ 'class' => 'amos\userauth\frontend\Module', 'useAppViewPath' => false, // When enabled the views will be looked up in the @app/views folder, otherwise the views shipped with the module will be used. ], ],
- Run the
./luya migrate
and./luya import
command. - Place the
userauthfrontend
module on a given page in the cms. - Add the config variable identifier
userauth_redirect_nav_id
with the value of the page you have included theuserauthfrontend
in step 4. - Add the config variable identifier
nopermission_redirect_nav_id
with the value of the page you have no permission message. - Optional you can configure with the variable identifer
userauth_afterlogin_nav_id
on which nav id the user should be redirect when no ref url is provided.
Usage
After the installation, you can secure any given page with the user login by checking the Protect Page checkbox in the page's Page properties panel. Important: this setting will not be inherited by subpages, it has to be set for every page that has to be secured.