validate

open override fun validate(): List<ValidationError>

Function to validate the password field.

Return

A list of validation errors.