fix(auth): password min length 6 + show/hide toggle on password inputs
Build & Push Docker Image / build (push) Successful in 2m21s

This commit is contained in:
opencode
2026-08-03 08:01:52 +02:00
parent 68a81ec775
commit 743b177c89
11 changed files with 49 additions and 27 deletions
+2 -2
View File
@@ -484,7 +484,7 @@ export const GetMeResponse = zod.object({
* @summary Change own password (local users only)
*/
export const changeMyPasswordBodyNewPasswordMin = 8;
export const changeMyPasswordBodyNewPasswordMin = 6;
@@ -626,7 +626,7 @@ export const SetUserPasswordParams = zod.object({
"id": zod.coerce.number()
})
export const setUserPasswordBodyPasswordMin = 8;
export const setUserPasswordBodyPasswordMin = 6;
@@ -9,6 +9,6 @@
export interface ChangePasswordInput {
/** @minLength 1 */
currentPassword: string;
/** @minLength 8 */
/** @minLength 6 */
newPassword: string;
}
@@ -7,6 +7,6 @@
*/
export interface SetPasswordInput {
/** @minLength 8 */
/** @minLength 6 */
password: string;
}