03.07.2016 - implement the IdentityInterfaceclass User extends \yii\db\ActiveRecord implements \yii\web\IdentityInterface; Now in Login form you will have to .