Update first-steps.md (#389)

Add missing step for deleting the administrator role.
This commit is contained in:
Carsten Brandt
2020-07-16 07:44:38 +02:00
committed by GitHub
parent 9996fbc36e
commit a6ba4b2208

View File

@ -68,7 +68,7 @@ Put this in your migration:
$user = \Da\User\Model\User::findOne(['name'=>"admin"]);
$auth->revoke($administratorRole, $user->id);
$user->delete();
$auth->remove($administratorRole);
}
## User Management