Ask Your Question
0

Unable to login to my askbot site as admin

asked 2012-07-26 23:45:10 -0500

pajju gravatar image

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.

edit retag flag offensive close merge delete

Comments

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

todofixthis gravatar imagetodofixthis ( 2012-07-27 08:44:13 -0500 )edit

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

pajju gravatar imagepajju ( 2012-07-27 13:59:37 -0500 )edit
1

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

Evgeny gravatar imageEvgeny ( 2012-07-27 14:55:54 -0500 )edit

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

pajju gravatar imagepajju ( 2012-07-28 12:57:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-07-28 15:44:51 -0500

Evgeny gravatar image

updated 2012-07-28 16:24:26 -0500

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()
edit flag offensive delete link more

Comments

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

carloreggiani gravatar imagecarloreggiani ( 2018-01-11 10:41:51 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-07-26 23:45:10 -0500

Seen: 5,557 times

Last updated: Jul 28 '12