Closed kimlimjustin closed 3 months ago
Can you add something here, that loops through all the profiles ( see here for how to list profiles ), and then for each profile sets the mastodon token to Null?
That way users don't have to go in and save their profile to clean up the token.
It's no big deal to do it every time that the server starts up since we'll be removing the code soon anyway.
Updated the code, could you please check if it's correct or not as I'm not that familiar to Iroh
I'm going to try and deploy this later today or tomorrow, after sending out the notice email.
As the user profile is accessible publicly through Iroh, this makes mastodon_access_token accessible to everyone. This PR sets every mastodon_access_token to Null and substitute the usage of mastodon_access_token