diff --git a/packages/frontend/src/pages/settings/security.vue b/packages/frontend/src/pages/settings/security.vue index 0f9ef99713..b09c4ffd2f 100644 --- a/packages/frontend/src/pages/settings/security.vue +++ b/packages/frontend/src/pages/settings/security.vue @@ -91,7 +91,7 @@ function regenerateToken() { type: 'password', }).then(({ canceled, result: password }) => { if (canceled) return; - os.api('i/regenerate_token', { + os.api('i/regenerate-token', { password: password, }); });