2amigos / yii2-usuario

Highly customizable and extensible user management, authentication, and authorization Yii2 extension
https://github.com/2amigos/yii2-usuario
Other
294 stars 142 forks source link

Minor error in doc: Migration for creating an admin user #404

Open robsch opened 3 years ago

robsch commented 3 years ago

In yii2-usuario/docs/helpful-guides/first-steps.md: In saveDown() it should be

$user = \Da\User\Model\User::findOne(['username'=>"admin"]); // not 'name' as key
maxxer commented 3 years ago

Do you want to make a pull request? I'll merge it right away. thanks