Move login/logout logic into the useUser composable and update references #12204
Labels
DEV: frontend
help wanted
Open source contributors welcome
TAG: tech update / debt
Change not visible to user
Milestone
Prerequisites
The login, logout, and session actions should be migrated into the useUser composable.
As this will have been done after the migration of all references to the getters and state to the useUser composable, the state should be removed from Vuex state and made into module level state in the useUser composable. The getters should be transferred to the useUser composable as computed refs based on the module level state.
Any references to the
CORE_SET_SESSION
mutation should also be updated: https://github.com/learningequality/kolibri/blob/develop/kolibri/core/assets/src/state/modules/session.js#L89The text was updated successfully, but these errors were encountered: