[horde] mobile browsers getting stuck in /services/portal/

Liam Hoekenga liamr at umich.edu
Thu Jun 19 18:45:49 UTC 2008


> I'd rather have them dropped directly into the application.  Can the 
> "layover" in the portal be turned off in the config?  Or if I have to change 
> code to prevent it, where should I look?

Ok.. I think I see some of the issue..

horde/login.php

 	 if (Auth::getAuth()) {
 		 if ($browser->isMobile()) {
 			 $url = 'services/portal/mobile.php';
 		 } else {
 			 $url = 'services/portal/index.php';
 		 }
 		 require HORDE_BASE . '/' . $url;
 		 exit;
 	 }

 	 /* Try transparent authentication. */
 	 if (Auth::isAuthenticated()) {
 		 require HORDE_BASE . '/index.php';
 		 exit;
 	 }

We're using transparent auth...
Shouldn't the transparent authentication check happen first?

Do users on sites that aren't using transparent auth get dumped into the 
portal instead of their initial_application?

Liam


More information about the horde mailing list