/** Matches CI `user/reset_password.php` / `set_password.php` client validation. */
export const STRONG_PASSWORD_REGEX =
  /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@\-=+*#$%&!?])[A-Za-z\d@\-=+*#$%&!?]{8,}$/

export function passwordsMatch(a: string, b: string): boolean {
  return a === b
}
