Added REST admin controller

This commit is contained in:
MatteoF96
2022-09-22 16:06:44 +02:00
parent b680784f66
commit ced062856f
8 changed files with 547 additions and 2 deletions

View File

@ -91,6 +91,16 @@ class User extends ActiveRecord implements IdentityInterface
return '{{%user}}';
}
/**
* {@inheritdoc}
*/
public function fields()
{
$fields = parent::fields();
unset($fields['auth_key'], $fields['password_hash']);
return $fields;
}
/**
* {@inheritdoc}
*/