changed message text for improved failure experience; removed unused get_eptid()
This commit is contained in:
@@ -49,7 +49,7 @@ from idp_user import EXTRA
|
|||||||
from mako.lookup import TemplateLookup
|
from mako.lookup import TemplateLookup
|
||||||
|
|
||||||
logger = logging.getLogger("saml2.idp")
|
logger = logging.getLogger("saml2.idp")
|
||||||
|
logger.setLevel(logging.WARNING)
|
||||||
|
|
||||||
class Cache(object):
|
class Cache(object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@@ -73,11 +73,6 @@ def _expiration(timeout, tformat="%a, %d-%b-%Y %H:%M:%S GMT"):
|
|||||||
return time_util.in_a_while(minutes=timeout, format=tformat)
|
return time_util.in_a_while(minutes=timeout, format=tformat)
|
||||||
|
|
||||||
|
|
||||||
def get_eptid(idp, req_info, session):
|
|
||||||
return idp.eptid.get(idp.config.entityid,
|
|
||||||
req_info.sender(), session["permanent_id"],
|
|
||||||
session["authn_auth"])
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user