Skip to content
Snippets Groups Projects
Commit 2feba1ed authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Disable spellcheck on login form.

This might send content to cloud spell checkers and is not useful
anyway.

See https://www.otto-js.com/news/article/chrome-and-edge-enhanced-spellcheck-features-expose-pii-even-your-passwords
parent 2cf4ec86
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,8 @@ ...@@ -37,7 +37,8 @@
<p>{{ 'A service has requested you to authenticate yourself. Please enter your username and password in the form below.'|trans }}</p> <p>{{ 'A service has requested you to authenticate yourself. Please enter your username and password in the form below.'|trans }}</p>
<div class="center-form login-form-start"> <div class="center-form login-form-start">
<form id="f" class="pure-form pure-form-aligned" action="{{ moduleURL('core/loginuserpass', {'AuthState': AuthState}) }}" method="post" name="f"> <form id="f" class="pure-form pure-form-aligned" action="{{ moduleURL('core/loginuserpass', {'AuthState': AuthState}) }}"
method="post" name="f" spellcheck="false">
<div class="pure-control-group"> <div class="pure-control-group">
<label for="username">{{ 'Username'|trans }}</label> <label for="username">{{ 'Username'|trans }}</label>
<input id="username" {{ forceUsername ? 'disabled' }} placeholder="{{ username }}" type="text" name="username" class="edge" <input id="username" {{ forceUsername ? 'disabled' }} placeholder="{{ username }}" type="text" name="username" class="edge"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment