Skip to content

Commit 45b5475

Browse files
committed
feat: port reset password route
1 parent 926c833 commit 45b5475

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ export const usersApi = {
158158
ignore: user => $http(`/api/ignoreUsers/ignore/${user.id}`, { method: 'POST' }),
159159
unignore: user => $http(`/api/ignoreUsers/unignore/${user.id}`, { method: 'POST' }),
160160
adminRecover: data => $http(`/api/user/recover`, { method: 'POST', data }),
161+
resetPassword: data => $http(`/api/reset`, { method: 'POST', data }),
161162
checkResetToken: (username, token) => $http(`/api/reset/${username}/${token}/validate`),
162163
trust: {
163164
getTrustList: () => $http('/api/trustlist'),

0 commit comments

Comments
 (0)