Project

General

Profile

How to make a Login view customized

Added by Raphael Fantini over 1 year ago

Hi, I've tried to make a customized login using your Auth library, but I can't find a way to modify the addPasswordAuth with updateModel and updateView.
Is there a guide to create a customized form for login or similar?
For example how i can insert an image in the username/passwrod login form


Replies (2)

RE: How to make a Login view customized - Added by Korneel Dumon over 1 year ago

Hi, have you looked at this function? https://www.webtoolkit.eu/jwt/latest/doc/javadoc/eu/webtoolkit/jwt/auth/AuthWidget.html#createLoginView()

I think what we usually do is to redefine the template text Wt.Auth.template.login.

RE: How to make a Login view customized - Added by Raphael Fantini over 1 year ago

Thanks a lot,
I confirm that redefining the template text was the key to edit the login appearance.

    (1-2/2)