def unauthorized(self, id, request): """See IAuthentication.""" a = ILoginPassword(request) # TODO maybe configure the realm from zconfigure. a.needLogin(realm="launchpad")
def unauthorized(self, id, request): if id is None or id is self.__defaultid: a = ILoginPassword(request) a.needLogin(realm="Zope")