Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.4

Request #13202 cannot use array in login form
Submitted: 2008-02-25 15:29 UTC
From: cybot Assigned:
Status: Wont fix Package: Auth (version 1.5.4)
PHP Version: 5.2.5 OS: n/a
Roadmaps: (Not assigned)    
Subscription  


 [2008-02-25 15:29 UTC] cybot (Sebastian Mendel)
Description: ------------ by default i use "login[user]" and "login[pass]" in my login form (as i do in most forms to group data) but i cannot tell Auth to check $_POST['login']['user'] Test script: --------------- $auth_options = array( 'user' => array( 'user' => 'pass', ), 'postUsername' => 'login[user]', 'postPassword' => 'login[pass]', ); $auth = new Auth('Array', $auth_options); Expected result: ---------------- Auth should check in $_POST['login']['user'] and $_POST['login']['pass'] Actual result: -------------- Auth checks for $_POST['login[user]'] and $_POST['login[pass]']

Comments

 [2014-04-20 10:24 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Wont fix
Unfortunately most likely a wontfix; though feel free to send in a pull request.