def EMAIL_VERIFICATION(self):
        """
        See e-mail verification method
        """
        ret = self._setting("EMAIL_VERIFICATION",
                            self.EmailVerificationMethod.OPTIONAL)
        # Deal with legacy (boolean based) setting
        if ret is True:
            ret = self.EmailVerificationMethod.MANDATORY
        elif ret is False:
            ret = self.EmailVerificationMethod.OPTIONAL
        return ret
def EMAIL_VERIFICATION ( self ) : ret = self . _setting ( "EMAIL_VERIFICATION" , self . EmailVerificationMethod . OPTIONAL ) if ret is True : ret = self . EmailVerificationMethod . MANDATORY elif ret is False : ret = self . EmailVerificationMethod . OPTIONAL return ret
See e-mail verification method