feat: expose read-only access token in profile settings

This commit is contained in:
Shivam Mishra
2026-05-20 13:19:58 +05:30
parent e195f9842f
commit 5d8fce92f7
6 changed files with 119 additions and 45 deletions
@@ -233,6 +233,16 @@ export const actions = {
}
},
resetReadOnlyAccessToken: async ({ commit }) => {
try {
const response = await authAPI.resetReadOnlyAccessToken();
commit(types.SET_CURRENT_USER, response.data);
return true;
} catch (error) {
return false;
}
},
resendConfirmation: async () => {
try {
await authAPI.resendConfirmation();