[dev] Re: gollem auth fix

Edwin L. Culp eculp at encontacto.net
Fri Mar 25 08:11:30 PST 2005


Quoting KaalH! <kaalh at smol.org>:

> Index: lib/Gollem.php
> ===================================================================
> RCS file: /repository/gollem/lib/Gollem.php,v
> retrieving revision 1.152
> diff -u -r1.152 Gollem.php
> --- lib/Gollem.php      25 Mar 2005 05:00:32 -0000      1.152
> +++ lib/Gollem.php      25 Mar 2005 15:36:43 -0000
> @@ -787,8 +787,8 @@
>      */
>     function getAutologinID($backend)
>     {
> -        if
> (!empty($GLOBALS['gollem_backends']['backend_keys']['hordeauth']) &&
> -
> (strcasecmp($GLOBALS['gollem_backends']['backend_keys']['hordeauth'],
> 'full') === 0)) {
> +        if (!empty($GLOBALS['gollem_backends'][$backend]['hordeauth']) &&
> +
> (strcasecmp($GLOBALS['gollem_backends'][$backend]['hordeauth'], 'full')
> === 0)) {
>             return Auth::getAuth();
>         } else {
>             return Auth::getBareAuth();

It fixed my gollem "full" login problem.  Thanks for the patch.

ed



More information about the dev mailing list