mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
add revoke all sessions in device & session page
This commit is contained in:
@@ -126,6 +126,9 @@ export default {
|
||||
tokenId
|
||||
});
|
||||
},
|
||||
revokeAllTokens: () => {
|
||||
return axios.post('v1/tokens/revokeAll.json');
|
||||
},
|
||||
getProfile: () => {
|
||||
return axios.get('v1/users/profile/get.json');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user