fix
This commit is contained in:
parent
5901e32479
commit
1402297f57
|
|
@ -87,8 +87,16 @@ export type ServerContext = {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export type SessionAuth = {
|
export type SessionAuth = (
|
||||||
method: "user-pass";
|
| {
|
||||||
username: string;
|
method: "user-pass";
|
||||||
password: string;
|
username: string;
|
||||||
} & Record<string, any>;
|
password: string;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
method: "user-otp";
|
||||||
|
uid: string;
|
||||||
|
otp: string;
|
||||||
|
}
|
||||||
|
) &
|
||||||
|
Record<string, any>;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue