georchestra / georchestra-cas-server

Apache License 2.0
0 stars 3 forks source link

Fix autocomplete for login #8

Closed tkohr closed 2 years ago

tkohr commented 2 years ago

PR intents to enable autocomplete for username, which does not seem to work with chrome. The loginform template from v 6.3.x is taken for this and autocomplete="off" set to autocomplete="username". This still needs to be tested in a compo with a working authentication.

Also fixes an issue for chrome autofill where labels and values for username and password overlap/conflict with each other. Labels are moved via JS to workaround this issue (https://github.com/material-components/material-components-web/issues/4447).