From 439384564994c026c79ad4676265dcb8a53b50ef Mon Sep 17 00:00:00 2001 From: projectwork1947 Date: Sat, 22 May 2021 17:40:07 +0530 Subject: [PATCH] Update first-steps.md I have check in the code and found that default role added in behaviour is Admin, so please update readme --- 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 7d71337..e722219 100644 --- a/docs/helpful-guides/first-steps.md +++ b/docs/helpful-guides/first-steps.md @@ -30,7 +30,7 @@ Put this in your migration: $auth = Yii::$app->authManager; // create a role named "administrator" - $administratorRole = $auth->createRole('administrator'); + $administratorRole = $auth->createRole('admin'); $administratorRole->description = 'Administrator'; $auth->add($administratorRole);