Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/p/r/Products.remember-1.9.3/Products/remember/skins/remember/mail_password.py   Products.remember(Download)
from Products.CMFPlone import PloneMessageFactory as pmf
from Products.remember.pas.utils import getUserIdForEmail
from Products.remember.pas.utils import email_login_is_active
 
REQUEST=context.REQUEST
userid = REQUEST['userid']
if '@' in userid and email_login_is_active():

src/p/r/Products.remember-1.9.3/Products/remember/content/member.py   Products.remember(Download)
from Products.remember.Extensions.workflow import triggerAutomaticTransitions
from Products.remember.pas.utils import validate_unique_email
from Products.remember.pas.utils import email_login_is_active
 
from member_schema import content_schema
        Only do this when we use emaillogins.
        """
        if email_login_is_active():
            return validate_unique_email(self, value)
 

src/p/r/Products.remember-1.9.3/Products/remember/utilities.py   Products.remember(Download)
from Products.membrane.interfaces import IUserAdder
from Products.remember.config import DEFAULT_MEMBER_TYPE
from Products.remember.pas.utils import email_login_is_active
 
 
    def email_login(self):
        """True when the email PAS plugin is used and site property is set.
        """
        return email_login_is_active()