fix(auth): password min length 6 + show/hide toggle on password inputs
Build & Push Docker Image / build (push) Successful in 2m21s
Build & Push Docker Image / build (push) Successful in 2m21s
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user