We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Is there no ext hook to access the post data from the login form?

Development and Programming

Chad Crowell's avatar
Chad Crowell
242 posts
15 years ago
Chad Crowell's avatar Chad Crowell

I have a client that wants me to add a “remember my info” checkbox to the login form so that next time they come back it prefills their username. I told him that almost all modern browsers do this, but, well you know.

So, I need to add a checkbox to the login form and then access that post data to evaluate it and set a cookie if its checked, but I don’t see that I can access the login form post data in any of the existing hooks.

Ideas?

       
the3mus1can's avatar
the3mus1can
426 posts
15 years ago
the3mus1can's avatar the3mus1can

EE1 or EE2?

       
Chad Crowell's avatar
Chad Crowell
242 posts
15 years ago
Chad Crowell's avatar Chad Crowell

2.1.3

       
the3mus1can's avatar
the3mus1can
426 posts
15 years ago
the3mus1can's avatar the3mus1can

I am pretty sure the $_POST data is available on all these extension hooks: http://ellislab.com/expressionengine/user-guide/development/extension_hooks/module/member_auth/index.html

I would probably go with member_member_login_single.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.