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(a)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
T: 561-880-2998 x1563
E: frank.herrmann(a)modmed.com
[image: [ Modernizing Medicine ]] <
http://www.modmed.com/>
[image: [ Facebook ]] <
http://www.facebook.com/modernizingmedicine> [image:
[ LinkedIn ]] <
http://www.linkedin.com/company/modernizing-medicine/> [image:
[ YouTube ]] <
http://www.youtube.com/user/modernizingmedicine> [image: [
Twitter ]] <
https://twitter.com/modmed_EMA> [image: [ Blog ]]
<
http://www.modmed.com/BlogBeyondEMR> [image: [ Instagram ]]
<
http://instagram.com/modernizing_medicine>
--
FRANK HERRMANN
SOFTWARE ENGINEER
T: 561-880-2998 x1563
E: frank.herrmann(a)modmed.com
[image: [ Modernizing Medicine ]] <
http://www.modmed.com/>
[image: [ Facebook ]] <
http://www.facebook.com/modernizingmedicine> [image:
[ LinkedIn ]] <
http://www.linkedin.com/company/modernizing-medicine/> [image:
[ YouTube ]] <
http://www.youtube.com/user/modernizingmedicine> [image: [
Twitter ]] <
https://twitter.com/modmed_EMA> [image: [ Blog ]]
<
http://www.modmed.com/BlogBeyondEMR> [image: [ Instagram ]]
<
http://instagram.com/modernizing_medicine>