Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#107 patch to prevent erroneous error with IMAP authentication

1.3.x
closed
Reini Urban
None
5
2012-10-11
2005-02-10
Anonymous
No

Using IMAP authentication, the inital login page erroneously displays a "Unable to connect to server" message. Adding a simple check to see if there is an empty password prior to displaying the message removes this error.

--- lib/WikiUserNew.php Thu Feb 10 10:28:44 2005
** extends _PassUser
2006,2014
$this->level = WIKIAUTH_USER;
return $this->_level;
} else {
- if ($submitted_password != "") {
trigger_error(
("Unable to connect to IMAP server "). IMAP_AUTH_HOST, E_USER_WARNING);
- }
}

      return $this->_tryNextPass($submitted_password);

--- 2006,2012 ----

Discussion

  • patch to remove erroneous error message using IMAP authentication

     
    Attachments
  • Logged In: NO

    Sorry, forgot contact info.
    michaelp@hhsys.org
    michael pruitt

     
  • Michael Pruitt
    Michael Pruitt
    2005-03-07

    Logged In: YES
    user_id=1234495

    Was there something wrong with my patch? Is this the wrong forum for submission?

     
  • Reini Urban
    Reini Urban
    2005-04-25

    Logged In: YES
    user_id=13755

    Ok,
    Makes sense if PASSWORD_LENGTH_MINIMUM = 0
    Will be applied soon.