Skip to main content

validatePasswordConfirm method

String? validatePasswordConfirm (String value, String comparator)

Implementation

static String? validatePasswordConfirm(
String value,
String comparator,
) \{
if (value != comparator) \{
return 'Password does not match original';
\}
return null;
\}