acmauth/StudentCompanion

Fix logout not actually removing user data

neron-png opened this issue · 0 comments

Broke after migrating the persisted stores to capacitor preference stores.

It used to be that the logout button invoked a function that removed all localstorage entries. While capacitor preference stores still use localstorage on the web, on mobile they use different apis, so we need to update that function to add some logic that will erase all capacitor preference store entries too