[dev] Re: gollem auth fix
Chuck Hagenbuch
chuck at horde.org
Fri Mar 25 08:22:05 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();
Looks right to me - I've committed it. Please send patches as
attachments in the future if possible, to avoid line wrapping.
Thanks!
-chuck
--
"But she goes not abroad in search of monsters to destroy." - John
Quincy Adams
More information about the dev
mailing list