developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 14 years ago

Closed 13 years ago

#63 closed bug (fixed)

Problème dans jAuthDriverClass.class.php

Reported by: yannick@… Owned by:
Priority: normal Milestone: Jelix 1.0beta1
Component: jelix:auth Version: trunk
Severity: major Keywords:
Cc: Blocked By:
Blocking: Documentation needed:
Hosting Provider: Php version: 5.1.6

Description

la méthode cryptPassword renvoit une notice si la méthode password_crypt_function n'est pas définie. Il faut rajouter :

    protected function cryptPassword($password){
        if (isset ($this->_params['password_crypt_function']))
        {
            $f=$this->_params['password_crypt_function'];
            if( $f != '')
               $password = $f($password);
        }
        return $password;
    }

Je pense qu'il faut faire la même chose pour jAuthDriverDb.class.php

Change History (1)

comment:1 Changed 13 years ago by laurentj

  • Milestone set to Jelix 1.0beta1
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from 1.0alpha5 to trunk
Note: See TracTickets for help on using tickets.