First time here? Check out the FAQ!
0

Unable to login to my askbot site as admin
 

Hi

I'm unable to login back to my askbot site as admin.

Is this an issue with cache? or is this a bug? Thanks.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
pajju's avatar
565
pajju
asked 12 years ago

Comments

What happens when you try to log in? Are other users able to log in?

todofixthis's avatar todofixthis (12 years ago)

Yea others can login. But only admin can't. I'm struck. @Evgeny how to reset or make it fix?

pajju's avatar pajju (12 years ago)
1

How did you log in to you admin account? With password or other method? Which? Try to recover your account by email.

Evgeny's avatar Evgeny (12 years ago)

I login with a password. Also I had not configured emails so i don't have option for recovery. @Evgeny

pajju's avatar pajju (12 years ago)
see more comments

1 Answer

0

Do you have a hosted site at askbot.com, if so, then tell which site and I will help you. Most likely you've made the typo in your password the first tim or forgot it.

If you are hosting your own site then you can do this:

python manage.py shell
>>> from django.contrib.auth.models import User
>>> me = User.objects.get(username='myusername')
>>> me.set_password('my_new_password')
>>> me.save()
>>> exit()

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago, updated 12 years ago
link

Comments

Fine! Changed admin password, but I'm still not able to login to /admin (Django administration), is it right? Another admin user?

carloreggiani's avatar carloreggiani (7 years ago)
see more comments