fix architecture and write new tests
This commit is contained in:
@@ -35,6 +35,7 @@ function AdminResetPasswordContent() {
|
||||
const res = await fetch(`${ADMIN_API_BASE}/admin/auth/reset-password`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
credentials: 'include',
|
||||
body: JSON.stringify({ token, password }),
|
||||
})
|
||||
const json = await res.json()
|
||||
|
||||
Reference in New Issue
Block a user