aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/utils.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/utils.ts b/src/lib/utils.ts
index 28a219e1..a3d9cd49 100644
--- a/src/lib/utils.ts
+++ b/src/lib/utils.ts
@@ -148,7 +148,13 @@ export const info = (m: string) => {
};
export const login = async (
- user: { username: string; password: string },
+ user: {
+ username: string;
+ password: string;
+ token?: string;
+ challenge?: string;
+ recaptcha?: string;
+ },
cookies,
ip: string,
) => {