Changeset 7142


Ignore:
Timestamp:
19 Nov 2011, 14:34:31 (13 years ago)
Author:
uli
Message:

During authentication when credentials-to-be are delivered, also check
for password length in order not to log out students when errors
occur.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/authentication.py

    r7139 r7142  
    232232            return None
    233233
     234        if len(password) < 3:
     235            # XXX: these checks should be generalized somehow, as we
     236            # do the same stuff in password setting views.
     237            return None
     238
    234239        session = ISession(request)
    235240        sessionData = session.get(
Note: See TracChangeset for help on using the changeset viewer.