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?

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)
catdrich's avatar
81
catdrich
asked 13 years ago

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 (13 years ago)
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.

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)
catdrich's avatar
81
catdrich
answered 13 years ago
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 (13 years ago)
see more comments