Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-05-20 07:50:05 +02:00
8b6dfe48b7
- Put groups support behind a feature flag, and disabled by default. The reason is that it has some known issues, but we want to keep optimizing this feature. Putting it behind a feature flag could help some users, and the developers into optimizing this feature without to much trouble. Further: - Updates Rust to v1.66.0 - Updated GHA workflows - Updated Alpine to 3.17 - Updated jquery to v3.6.2 - Moved jdenticon.js to load at the bottom, fixes an issue on chromium - Added autocomplete attribute to admin login password field - Added some extra CSP options (Tested this on Safari, Firefox, Chrome, Bitwarden Desktop) - Moved uppercase convertion from runtime to compile-time using `paste` for building the environment variables, lowers heap allocations.
25 Zeilen
995 B
Handlebars
25 Zeilen
995 B
Handlebars
<main class="container-xl">
|
|
{{#if error}}
|
|
<div class="align-items-center p-3 mb-3 text-white-50 bg-warning rounded shadow">
|
|
<div>
|
|
<h6 class="mb-0 text-white">{{error}}</h6>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
|
|
<div class="align-items-center p-3 mb-3 text-white-50 bg-danger rounded shadow">
|
|
<div>
|
|
<h6 class="mb-0 text-white">Authentication key needed to continue</h6>
|
|
<small>Please provide it below:</small>
|
|
|
|
<form class="form-inline" method="post" action="{{urlpath}}/admin">
|
|
<input type="password" autocomplete="password" class="form-control w-50 mr-2" name="token" placeholder="Enter admin token" autofocus="autofocus">
|
|
{{#if redirect}}
|
|
<input type="hidden" id="redirect" name="redirect" value="/{{redirect}}">
|
|
{{/if}}
|
|
<button type="submit" class="btn btn-primary">Enter</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</main>
|