Skip to content

Commit 926c833

Browse files
committed
feat: port checkResetToken route
1 parent 0621a91 commit 926c833

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+
checkResetToken: (username, token) => $http(`/api/reset/${username}/${token}/validate`),
161162
trust: {
162163
getTrustList: () => $http('/api/trustlist'),
163164
getTrustTree: params => $http('/api/trusttree', { params }),

0 commit comments

Comments
 (0)