Wiki articles tagged with "authentication"

Showing 1-1 of 1 item.
Created 3 months ago by AndroideLP, updated 3 months 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
3 followers
Viewed: 8 677 times
Version: 2.0
Category: How-tos