This commit is contained in:
parent
d36c34dd17
commit
ddd00e3f85
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@ import type { BaseResponse } from "../base";
|
||||||
import type { UserResponse } from "./base";
|
import type { UserResponse } from "./base";
|
||||||
|
|
||||||
interface LoginRequest {
|
interface LoginRequest {
|
||||||
identifier: string; // Username or email
|
identifier: string; // username or email
|
||||||
password: string;
|
password: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ import type { BaseResponse } from "../../base";
|
||||||
interface ResetPasswordRequest {
|
interface ResetPasswordRequest {
|
||||||
token: string;
|
token: string;
|
||||||
newPassword: string;
|
newPassword: string;
|
||||||
logoutAllSessions?: boolean;
|
logoutAllSessions?: boolean; // defaults to false
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ResetPasswordResponse extends BaseResponse {
|
interface ResetPasswordResponse extends BaseResponse {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue