6.0.0-alpha12
6/12/25

[#11258] Cannot get login screen when using hordeauth=false in backend.php
Summary Cannot get login screen when using hordeauth=false in backend.php
Queue IMP
Queue Version 6.0.0alpha1
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester ralf.lang (at) ralf-lang (dot) de
Created 07/10/2012 (4720 days ago)
Due
Updated 08/29/2012 (4670 days ago)
Assigned
Resolved 07/10/2012 (4720 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/29/2012 12:41:36 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit 68610b81c06d7168436780424198c85aea99366b
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Tue Jul 10 15:35:25 2012 -0600

     Redirect to login screen if authentication error is thrown and 
application is not yet authenticated to (Bug #11258).

  framework/Core/lib/Horde/ErrorHandler.php |    9 ++++++---
  1 files changed, 6 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/68610b81c06d7168436780424198c85aea99366b
07/10/2012 09:35:52 PM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
07/10/2012 09:35:43 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (develop):

commit 68610b81c06d7168436780424198c85aea99366b
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Tue Jul 10 15:35:25 2012 -0600

     Redirect to login screen if authentication error is thrown and 
application is not yet authenticated to (Bug #11258).

  framework/Core/lib/Horde/ErrorHandler.php |    9 ++++++---
  1 files changed, 6 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/68610b81c06d7168436780424198c85aea99366b
07/10/2012 07:44:05 AM Ralf Lang Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ Cannot get login screen when using hordeauth=false in backend.php
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I authenticate to horde via sql driver and want to test the qa 
installation against the real imap server (different account 
passwords). While it works with hordeauth=true and correct account 
password,

it doesn't work with hordeauth=false in the backend.php

I am not presented an authentication credential screen as in older 
horde releases. Instead it raises an error immediately:

User is not authorized for imp

1. Horde_Registry::appInit() /srv/git/horde/imp/index.php:18

Details

Horde_Exception_AuthenticationFailure Object
(
     [application] => imp
     [code:protected] => 0
     [details] =>
     [logged] => 1
     [_logLevel:protected] => 0
     [message:protected] => User is not authorized for imp
     [string:Exception:private] =>
     [file:protected] => /srv/git/horde/framework/Core/lib/Horde/Registry.php
     [line:protected] => 266
     [trace:Exception:private] => Array
         (
             [0] => Array
                 (
                     [file] => /srv/git/horde/imp/index.php
                     [line] => 18
                     [function] => appInit
                     [class] => Horde_Registry
                     [type] => ::
                     [args] => Array
                         (
                             [0] => imp
                         )

                 )

         )

     [previous:Exception:private] =>
)

Saved Queries