I'm unsure how to parse your first sentence. However, I think you may be pointing out that the login form has a node_id=XXXX hidden inside of it in order to determine which node gets loaded when one submits the form. Obviously, this node_id can't be set to blazar's personal favorite node's ID if we don't know yet that blazar is the monk who is going to use the form to log in. Which belies the "easy to implement" claim (since the point seems to be to avoid the extra round-trip which blazar must lack the patience for since there are so many ways to get to your favorite node with a single click after login and it isn't even hard to use Free-Nodelet JavaScript to eliminate the need to click).

But it would be possible for the heart of the login code to note that $q->param('node_id') is login and override it (for POST requests). But that also strikes me as a rather sloppy hack. Perhaps not unacceptably crufty, though.

- tye        


In reply to Re^4: Customizable login page? (precog) by tye
in thread Customizable login page? by blazar

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.