From a6ba4b220846b363520dd0ecbe550345f3e619f4 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Thu, 16 Jul 2020 07:44:38 +0200 Subject: [PATCH] Update first-steps.md (#389) Add missing step for deleting the administrator role. --- docs/helpful-guides/first-steps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/helpful-guides/first-steps.md b/docs/helpful-guides/first-steps.md index 07c39aa..70c2b2a 100644 --- a/docs/helpful-guides/first-steps.md +++ b/docs/helpful-guides/first-steps.md @@ -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