2017 © Pedro Peláez
 

luya-module luya-module-userauth

Authsystem with username and password for a given cms page area.

image

luyadev/luya-module-userauth

Authsystem with username and password for a given cms page area.

  • Wednesday, July 18, 2018
  • by nadar
  • Repository
  • 4 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

LUYA Logo , (*1)

LUYA Frontend user authentification

LUYA, (*2)

Authsystem with username and password for a given cms page area. It does not contain a registration process for new users in the frontend!., (*3)

Installation

  1. Install the extension through composer:
composer require luyadev/luya-module-userauth
  1. Add to the config
'modules' => [
    //...
    'userauthfrontend' => [
        'class' => 'luya\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.
    ],
    'userauthadmin' => 'luya\userauth\admin\Module',
],
  1. And the user component
'components' => [
    //...
    'user' => [
        'class' => 'yii\web\User',
        'identityClass' => 'luya\userauth\models\User',
    ]
],
  1. Run the ./luya migrate and ./luya import command.
  2. Place the userauthfrontend module on a given page in the cms.
  3. Add the config variable identifier userauth_redirect_nav_id with the value of the page you have included the userauthfrontend in step 5.
  4. 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., (*4)

The Versions

18/07 2018

dev-master

9999999-dev

Authsystem with username and password for a given cms page area.

  Sources   Download

MIT

The Development Requires

auth luya

18/07 2018

1.0.0

1.0.0.0

Authsystem with username and password for a given cms page area.

  Sources   Download

MIT

The Development Requires

auth luya