Wiki articles tagged with "authentication"

Showing 1-1 of 1 item.
Created a month ago by AndroideLP, updated a month 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: 4 777 times
Version: 2.0
Category: How-tos