Changeset 8739


Ignore:
Timestamp:
25/03/13 11:23:49 (6 years ago)
Author:
mnagni
Message:

Incomplete - # 22698: [CEDA Site Python Port] MyCEDA Login needs to be more user-friendly
 http://team.ceda.ac.uk/trac/ceda/ticket/22698

Location:
mauRepo/dj_security/trunk/dj_security
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • mauRepo/dj_security/trunk/dj_security/middleware.py

    r8736 r8739  
    138138    if force_path: 
    139139        return base64.b64encode(''.join(['http://',  
    140                                       host,  
     140                                      host, '/', 
    141141                                      force_path])) 
    142142         
    143143    return base64.b64encode(''.join(['http://',  
    144                                       host,  
     144                                      host, '/',  
    145145                                      request.path])) 
    146146 
  • mauRepo/dj_security/trunk/dj_security/views/dj_security_login.py

    r8736 r8739  
    5454    For signup verficiation, False is given for is_active. 
    5555    """ 
     56 
     57    def __init__(self, *args, **kwargs): 
     58        super(CedaUserAuthenticationBackend, self).__init__(*args, **kwargs) 
    5659 
    5760    def authenticate(self, **kwargs): 
Note: See TracChangeset for help on using the changeset viewer.