projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cc3ff8
)
Fix undefined variable
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 22 Jul 2009 18:11:25 +0000
(12:11 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 22 Jul 2009 18:11:25 +0000
(12:11 -0600)
imp/lib/Auth.php
patch
|
blob
|
history
diff --git
a/imp/lib/Auth.php
b/imp/lib/Auth.php
index
d4c0a3c
..
5ba1d49
100644
(file)
--- a/
imp/lib/Auth.php
+++ b/
imp/lib/Auth.php
@@
-401,13
+401,13
@@
class IMP_Auth
{
global $conf;
- $ptr = $GLOBALS['imp_imap']->loadServerConfig($credentials['server']);
+ $sess = &$_SESSION['imp'];
+
+ $ptr = $GLOBALS['imp_imap']->loadServerConfig($sess['server_key']);
if ($ptr === false) {
throw new Horde_Auth_Exception('', Horde_Auth::REASON_FAILED);
}
- $sess = &$_SESSION['imp'];
-
/* Set the protocol. */
$sess['protocol'] = isset($ptr['protocol'])
? $ptr['protocol']