KnownMastodon icon indicating copy to clipboard operation
KnownMastodon copied to clipboard

Adding wrong username locks plugin into unusable state

Open jaranta opened this issue 6 years ago • 4 comments

I accidentally input the wrong domain in the authentication "full username" field. I can't connect to that domain and there seems to be no way to change fields when they have been once saved. I can't even add more accounts, since the plugin is stuck on the first authentication.

Is there a way to remove that account and reset the plugin?

jaranta avatar Jan 10 '19 11:01 jaranta

Hi, seems that unset or change a wrong full username is not possible and you need to edit the DB entry, see #12

danito avatar Jan 10 '19 15:01 danito

If anyone else tries to do this, this is the mysql syntax I used to replace the wrong url with the right one:

UPDATE entities SET contents=REPLACE(contents,'"server":"wrong.server"','"server":"right.server"');

jaranta avatar Jan 16 '19 08:01 jaranta

Is there a way to remove an incorrect server from the database ? Thanks.

markwaters avatar May 06 '19 18:05 markwaters

Is there a way to remove an incorrect server from the database ? Thanks.

I have a branch on my fork with per instance deletion

cdn avatar Nov 20 '19 19:11 cdn