Skip to content

Commit

Permalink
Set failure application.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Oct 22, 2014
1 parent 9da3040 commit f625619
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imp/lib/Factory/Imap.php
Expand Up @@ -67,10 +67,12 @@ public function create($id = null)
} catch (Exception $e) {
// This indicates an unserialize() error. This is fatal, so
// logout.
throw new Horde_Exception_AuthenticationFailure(
$failure = new Horde_Exception_AuthenticationFailure(
'Cached IMP session data has become invalid; expiring session.',
Horde_Auth::REASON_SESSION
);
$failure->application = 'imp';
throw $failure;
}

if (!is_object($ob)) {
Expand Down

0 comments on commit f625619

Please sign in to comment.