danito / KnownMastodon

Syndicate to Mastodon
Apache License 2.0
26 stars 5 forks source link

Adding wrong username locks plugin into unusable state #20

Open jaranta opened 5 years ago

jaranta commented 5 years ago

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?

danito commented 5 years ago

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

jaranta commented 5 years ago

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"');

markwaters commented 5 years ago

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

cdn commented 4 years ago

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

I have a branch on my fork with per instance deletion