mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
don't require 8 characters for login password
this was causing issues with demo accounts
This commit is contained in:
@@ -25,7 +25,7 @@ export type ApiError = z.infer<typeof ApiErrorSchema>;
|
||||
|
||||
export const LoginRequestSchema = z.object({
|
||||
username: z.string().min(1, "username is required").max(USER_USERNAME_MAX_LENGTH),
|
||||
password: z.string().min(8, "password must be at least 8 characters"),
|
||||
password: z.string().min(1, "password is required"),
|
||||
});
|
||||
|
||||
export type LoginRequest = z.infer<typeof LoginRequestSchema>;
|
||||
|
||||
Reference in New Issue
Block a user