1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-06-13 17:06:50 +00:00

Prevent virtual keyboard login auto capitalization

Stops virtual keyboards, such as the ones on mobile devices, to default to uppercase for the first letter of the login user input field.
This commit is contained in:
Bernat 2021-10-24 20:14:47 +02:00 committed by GitHub
parent cdd38350fe
commit 9f260128cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<div class="form-group">
<label for="username">{{_('Username')}}</label>
<input type="text" class="form-control" id="username" name="username" placeholder="{{_('Username')}}">
<input type="text" class="form-control" id="username" name="username" autocapitalize="off" placeholder="{{_('Username')}}">
</div>
<div class="form-group">
<label for="password">{{_('Password')}}</label>