6.0.0-beta1
9/19/25

[#1921] custom_login.php uses default server rather than server info listed in form
Summary custom_login.php uses default server rather than server info listed in form
Queue IMP
Queue Version 4.0.3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester liamr (at) umich (dot) edu
Created 05/06/2005 (7441 days ago)
Due
Updated 05/07/2005 (7440 days ago)
Assigned
Resolved 05/07/2005 (7440 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/07/2005 01:46:35 PM Chuck Hagenbuch Comment #4 Reply to this comment
All I can say is that it's an example. If things work for you with the 
regular login screen, then IMP isn't doing anything wrong - you just 
need to modify custom_login.php to send different information.
05/07/2005 01:19:22 PM liamr (at) umich (dot) edu Comment #3 Reply to this comment
And setting the $server_key to something other than the first server 
in servers.php isn't sufficient?



My form gets populated with the info for the server field I want.



Providing the $server_key variable to populate the form and then 
ignoring the information that gets POSTed and just using the first 
server anyway seems kinda wrong.
05/07/2005 04:29:21 AM Chuck Hagenbuch Comment #2
State ⇒ Not A Bug
Reply to this comment
Quoting from custom_login.php:



/* Use the first server defined in servers.php. */

// CUSTOMIZE THIS



It's an example script, you need to taylor it to your needs.
05/06/2005 05:38:16 PM liamr (at) umich (dot) edu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ custom_login.php uses default server rather than server info listed in form
Queue ⇒ IMP
Reply to this comment
I'm trying to impliment a custom login screen for one of our 
instances.  If I use the default horde login screen, it the preferred 
mechanism works fine.



If I use the custom login screen, the form seems to be populated 
correctly.  I get all of the correct server information from 
imp/config/servers.php, but I get logged into the default (first) 
entry in the servers file.  It seems to ignore all the information 
that's getting posted to redirect.php

Saved Queries