Closed (fixed)
Project:
Email Registration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
19 May 2008 at 15:51 UTC
Updated:
12 Jun 2008 at 03:33 UTC
I was having problems logging in (registration seemed OK). So I simplified/updated the code a bit. We now register an #element_validate handler on the name element since those run before form-wide validation. We want to run early so the login form looks as "normal" as possible as it proceeds through validation. I also changed from form_set_value() to just setting $form_state['values']['name'] since thats clearer and supported in D6.
| Comment | File | Size | Author |
|---|---|---|---|
| mw.patch | 1.61 KB | moshe weitzman |
Comments
Comment #1
moshe weitzman commentedactually, that form_set_value() looks fine if you want to keep it.
Comment #2
moshe weitzman commentedcommitted with permission.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.