• Jérome Perrin's avatar
    base: better handling of passwords not set · 8dec679c
    Jérome Perrin authored
    When users with no password set try to login, this should be refused.
    
    It was not possible to login but because of an error (pw_validate does
    not support to be called with None). The error was catched by PAS and
    logged with level debug, so we did not notice.
    
    These changes are mostly about covering this in a test to make sure this
    does not regress and we also change the code not to raise the error.
    8dec679c
ERP5LoginUserManager.py 11.9 KB