farmOS / field-kit

A modular, offline-first companion app to farmOS.
https://farmOS.org
GNU General Public License v3.0
59 stars 38 forks source link

Update logout procedures. #471

Closed jgaehring closed 2 years ago

jgaehring commented 2 years ago

I didn't realize til testing out our fix for #452 that Logout.vue is still completely outdated and none of the actions for logging out and deleting user data exist any more. Whoops!

I'll need to update that component and rewrite the corresponding Vuex actions/mutations for handling that as well.

Also, @paul121 and I discussed the revokeTokens() method in farmOS.js and he pointed out that we don't currently have the /oauth/revoke route on farmOS 2.x yet. Honestly, I don't think we need it, but we can reevaluate it later. There's a whole long discussion in #350 that gets into that a little bit, if anyone's bored and cares to dig.