From 2e9d4caee5a1b0b2b3b70f83b45720da5889f12f Mon Sep 17 00:00:00 2001 From: Vincent Junge Date: Sun, 25 Jun 2023 22:34:05 +0200 Subject: [PATCH] require password to log in --- src/types/schema/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/schema/auth.rs b/src/types/schema/auth.rs index 3fe0604..9a3b9d6 100644 --- a/src/types/schema/auth.rs +++ b/src/types/schema/auth.rs @@ -23,7 +23,7 @@ pub struct LoginSchema { pub login: String, /// For Discord, must be between 1 and 72 characters, /// but other servers may have different limits. - pub password: Option, + pub password: String, pub undelete: Option, pub captcha_key: Option, pub login_source: Option,