LorittaBot / Loritta

💁 A multipurpose, multilanguage, customizable, modular, and very cute bot for Discord! ~Making your server more awesome~
https://loritta.website/
GNU Affero General Public License v3.0
669 stars 170 forks source link

Fix Loritta not saving the refreshed OAuth2 token #2633

Closed MrPowerGamerBR closed 1 year ago

MrPowerGamerBR commented 1 year ago

When Loritta calls TemmieDiscordAuth's refreshToken(), the newly refreshed token is not saved on the current session, causing Loritta to ask the user to reauthenticate on subsequent page loads.