First time here? Check out the FAQ!
0

remove login method

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?

catdrich's avatar
81
catdrich
asked 2011-12-08 08:22:42 -0600
edit flag offensive 0 remove flag close merge delete

Comments

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
add a comment see more comments

1 Answer

2

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.

catdrich's avatar
81
catdrich
answered 2011-12-09 09:43:06 -0600
edit flag offensive 0 remove flag delete link

Comments

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
add a comment see more comments