Ask Your Question

remove login method

asked 2011-12-08 08:22:42 -0600

catdrich's avatar

I am currently testing Askbot on one of our servers. I created the admin account and it works fine. I was testing Facebook login, and I really wanted to make a separate account (from admin), but it linked the login method to the admin account. The option to delete the Facebook login is not there. There is a delete button for the local login. I want to delete the Facebook login method, not the local method. Is there any other way to do so?

edit retag flag offensive close merge delete


Additional information -- where it should have the delete button, it says " sorry, but older votes cannot be revoked". Is this the reason there is no delete for this method for the admin account? If so, how can I fix this?

catdrich's avatar catdrich  ( 2011-12-09 06:23:01 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2011-12-09 09:43:06 -0600

catdrich's avatar

I was able to remove the Facebook login method from the admin account and successfully associate it with my individual account. In order to do this, I deleted the association in the database tables. We use postgres; this is the command I used: delete from djangoauthopeniduserassociation where userid = 1 and providername = 'facebook'; After deleting the association from the admin account (user_id 1), I was able to add the Facebook login method to my normal account in the usual manner. I may have been able to simply alter the database table, but i wanted to ensure the normal way worked.

edit flag offensive delete link more


Yes, we'll need to look why facebook login is not removable. Regarding undercores in the text formatting - the _text_ makes it italic, to leave literal underscores you'll need to add backticks around the word.

Evgeny's avatar Evgeny  ( 2011-12-09 10:51:06 -0600 )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


Asked: 2011-12-08 08:22:42 -0600

Seen: 251 times

Last updated: Dec 09 '11