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

on demo site is possible to login with admin? #38

Open
nunziofiore opened this issue Feb 12, 2015 · 2 comments
Open

on demo site is possible to login with admin? #38

nunziofiore opened this issue Feb 12, 2015 · 2 comments

Comments

@nunziofiore
Copy link

on demo site is possible to login as admin?
I can't find user and password for demo admin
Nunzio

@JaredCowan
Copy link

Assuming you are signed up as basic user first and that your user is the first user you can do this.

  • Open up your terminal of choice.
  • Change into the directory of your app
  • Type in $ rails c (This opens the rail console)
  • Then type in $ User.first.update(is_admin: true)

Then try to login or refresh the page.

@nunziofiore
Copy link
Author

Yes thank you but I know it :)
I was wondering if there was an Admin user for The online demo on heroku

Il mercoledì 18 febbraio 2015, Jared L Cowan notifications@github.com ha
scritto:

Assuming you are signed up as basic user first and that your user is the
first user you can do this.

  • Open up your terminal of choice.
  • Change into the directory of your app
  • Type in $ rails c (This opens the rail console)
  • Then type in $ User.first.update(is_admin: true)

Then try to login or refresh the page.


Reply to this email directly or view it on GitHub
#38 (comment)
.

Sent from Gmail Mobile

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

2 participants