bizley / yii2-podium

Yii 2 forum module project
Apache License 2.0
168 stars 59 forks source link

can't sign in after install #134

Open cornybang opened 6 years ago

cornybang commented 6 years ago

hello, i'm sorry for the dumb question. where I can set the configuration after the installation complete? I installed and the index displayed but I can't sign in and set the roles. thank you ok

.

bizley commented 6 years ago

Based on your screen it looks like you are already signed in with user_152... but it's not admin. Take a look at Advanced Installation guide to get inherited admin user.

cornybang commented 6 years ago

where should I put the configuration? it seems I don't put the configuration at the right file. I already put the Inherited User Identity in the backend\config\main.php.

bizley commented 6 years ago

Looks like it is in the proper place.

Maybe the user you are logged in with is not the one that is selected as admin. Check your configuration and see if adminId is set to be the same as your user database ID.

cornybang commented 6 years ago

I already set the adminId on the configuration file same as the user database ID but nothing changed.

bizley commented 6 years ago

I'm not sure what is wrong here then. You can try to change role column in your podium_user table to 10 (admin) for the user you want to log in with.