Wiki articles tagged with "login"

Showing 1-4 of 4 items.
Created 19 days ago by AndroideLP, updated 17 days ago by samdark.

How to login from different tables in Yii2

The Problem: Yii2 utilizes by default UserIdentity configured in config/web.php for connection, this object appy one table to authentication ('identityClass' => 'app\painel\models\User'). How to authentication from diferent tables? Solution: Create instances in web.php to uses UserIdentify. eg:

3 0
2 followers
Viewed: 2 113 times
Version: 2.0
Category: How-tos
Created 2 years ago by Wade Shuler, updated 2 years ago by samdark.

[Guide] How to actually separate Frontend (User) and Backend (Admin) on Yii2 Advanced

I am writing this guide because I struggled to find a resource that included ALL of the necessary steps to completely separate the frontend from the backend. After reading guides like Configuring different sessions for backend and frontend in yii-advanced-app and [yii2 configuring d...

3 1
15 followers
Viewed: 65 711 times
Version: 2.0
Category: How-tos
Created 3 years ago by hrnair, updated 3 years ago by hrnair.

Yii2: Configuring different sessions for backend and frontend in Yii Advanced Application Template

This is as an extension of this wiki by Kartik V which shows to make different enableAutoLogin cookies for frontend and backend.

2 0
7 followers
Viewed: 27 895 times
Version: 2.0
Category: How-tos
Created 3 years ago by Kartik V, updated 2 years ago by Kartik V.

Configuring different sessions for backend and frontend in Yii advanced app

Your need: You require that for shared machines, the user is authenticated again for a backend access again, if someone is logged in from frontend and vice versa.

3 0
46 followers
Viewed: 31 541 times
Version: 2.0
Category: How-tos