Hi All,

I was wondering if anyone had any thoughts around this. I have a couple of fields I really need to save the information to repopulate the fields on a failed login. Basically, how is login.username populated in login.ftl, and can other fields be saved?

Thanks.

On Tue, May 17, 2016 at 2:19 PM, Frank Herrmann <frank.herrmann@modernizingmedicine.com> wrote:
In the template, login.ftl, the parameter login.username is begin used to fill back in the username field after a failed login. In our custom template, I have additional fields I wound not want a user to have to refill after a failed login. Some of these fields are pre-populated via the form authenticator with context.form().setAttribute, which works fine. However, on a failed login, the login page changes and this context is lost.

Is it possible to set additional fields to save their data during failed login?

Thanks,

-Frank

--
FRANK HERRMANN 
SOFTWARE ENGINEER



[ Modernizing Medicine ]
[ Facebook ][ LinkedIn ][ YouTube ][ Twitter ][ Blog ][ Instagram ]




--
FRANK HERRMANN 
SOFTWARE ENGINEER

T: 561-880-2998 x1563

E:  frank.herrmann@modmed.com




[ Modernizing Medicine ]
[ Facebook ][ LinkedIn ][ YouTube ][ Twitter ][ Blog ][ Instagram ]