src/snac/server/database/SQL.php
/**
     * Update password for an existing user.
     *
     * We assume the user exists. This will silently fail for non-existing user, although the calling code
     * won't be able to get a $appUserID for a non-existent user, so that's not a problem.
     *
     * @param integer $appUserID The numeric user id
     *
     * @param string $passwd An encrypted password
     *
     */
Update password for an existing user.
We assume the user exists. This will silently fail for non-existing user, although the calling code
won't be able to get a $appUserID for a non-existent user, so that's not a problem.

@param integer $appUserID The numeric user id

@param string $passwd An encrypted password
Update password for an existing user . We assume the user exists . This will silently fail for non - existing user although the calling code won ' t be able to get a $appUserID for a non - existent user so that ' s not a problem . @param integer $appUserID The numeric user id @param string $passwd An encrypted password
public function updatePassword($appUserID, $passwd)
    {
        $this->sdb->query(
            'update appuser set password=$1 where id=$2',
            array($passwd, $appUserID));
    }
public function updatePassword ( $ appUserID , $ passwd ) { $ this -> sdb -> query ( 'update appuser set password=$1 where id=$2' , array ( $ passwd , $ appUserID ) ) ; }
Update password for an existing user.
Update password for an existing user .