Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom error messages on login #76

Open
hri101 opened this issue Aug 30, 2018 · 0 comments
Open

Custom error messages on login #76

hri101 opened this issue Aug 30, 2018 · 0 comments

Comments

@hri101
Copy link

hri101 commented Aug 30, 2018

While not directly related to the core functionality of the example, I'd like to understand if it is possible to handle custom(server-side) login error messages and visualize such in the "login.html" page using knockout.js. The example's readme says knockout.js is used, also in login.html there is a commented out "div" tag with data-bind="visible: showErrorMessage".

The initial version of the login HTML page used to use knockout:
e189203#diff-00440c40d0495d75cf45cf34a006b10d

Most of the Spring examples for handling login error messages use JSP-s, this one uses HTML+JS. Would someone point me to a working example?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant