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;
|
||||
password: string;
|
||||
} & Record<string, any>;
|
||||
}
|
||||
| {
|
||||
method: "user-otp";
|
||||
uid: string;
|
||||
otp: string;
|
||||
}
|
||||
) &
|
||||
Record<string, any>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue