Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin user #25

Closed
ghost opened this issue Jun 17, 2017 · 6 comments
Closed

Admin user #25

ghost opened this issue Jun 17, 2017 · 6 comments

Comments

@ghost
Copy link

ghost commented Jun 17, 2017

Hello how do i create a admin user ?

i have created a admin user with role administrator but i get this error

HttpException in Application.php line 900:

@saleh-old
Copy link
Contributor

You mean a Voten-administrator right? Seems like I need to add a database seeder to make it easy for new installs. But anyways, create a record in appointed_users with your user_id and input administrator for appointed_as. Then clear redis cache so the app will now know you as administrator.

This is only needed for the first user. After this you'd be able to open the admin panel /backend and add new administrators there.

@owwwe
Copy link

owwwe commented Jun 18, 2017

Hi @sullyfischer got Whoops, looks like something went wrong. error on /backend. can't create as admin. Can you please give more information? Thank you.

@saleh-old
Copy link
Contributor

Hi.
Did make the record(manually) into the database? And then did your clear Redis cahce?

@ixtim
Copy link

ixtim commented Jun 19, 2017

Does anyone know the default admin users or how to create a new one? I can't not access to backend. Thank you very much in advance.

@saleh-old
Copy link
Contributor

@MustafaBozkurt there's a PR that would add it.

#24

@SunnyPage
Copy link

Please help ... I can not access the backend.
I called php artisan db:seed --class=AdminUserSeeder.
Removed all the bases of Redis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants