Password reset code constraint added