I
InsikL
Guest
Here's a quick fix to the login issue.
/* Patch for PSA: I not found a config based-way to disable
* short names, without @ so apply this patch */
if (!preg_match('/^(.+)@(.+)$/', $imapuser, $matches)){
// ** Comment out $DomainName as it's not passed into lib/Session.php
// ** use $args['maildomain'] taken from variable set in config/servers.php
// $imapuser .= '@' . $DomainName;
$imapuser .= '@' . $args['maildomain'];
$_SESSION['imp']['user'] = trim($imapuser);
}