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:
@@ -123,12 +123,12 @@ export interface UserRoleUpdate {
|
||||
export interface ChangePasswordInput {
|
||||
/** @minLength 1 */
|
||||
currentPassword: string;
|
||||
/** @minLength 8 */
|
||||
/** @minLength 6 */
|
||||
newPassword: string;
|
||||
}
|
||||
|
||||
export interface SetPasswordInput {
|
||||
/** @minLength 8 */
|
||||
/** @minLength 6 */
|
||||
password: string;
|
||||
}
|
||||
|
||||
|
||||
@@ -1013,7 +1013,7 @@ components:
|
||||
minLength: 1
|
||||
newPassword:
|
||||
type: string
|
||||
minLength: 8
|
||||
minLength: 6
|
||||
|
||||
SetPasswordInput:
|
||||
type: object
|
||||
@@ -1021,7 +1021,7 @@ components:
|
||||
properties:
|
||||
password:
|
||||
type: string
|
||||
minLength: 8
|
||||
minLength: 6
|
||||
|
||||
PasswordRedirect:
|
||||
type: object
|
||||
|
||||
@@ -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