add access control to backend
This commit is contained in:
@@ -209,7 +209,9 @@ class User extends ActiveRecord implements IdentityInterface
|
||||
|
||||
public function attributeLabels(){
|
||||
return [
|
||||
|
||||
'username' => Yii::t('backend/user', 'Username'),
|
||||
'email' => Yii::t('backend/user', 'E-Mail'),
|
||||
'created_at' => Yii::t('backend/user', 'Created at'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user