mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
admin page login broke after latest update #280
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pdarcos on GitHub (Apr 17, 2019).
Hi all,
I just updated according to
https://github.com/dani-garcia/bitwarden_rs/wiki/Updating-the-bitwarden-image
Now when I try to login with the admin token I get the following error:
[2019-04-17 16:17:53][rocket::rocket][INFO] GET /admin text/html:
[2019-04-17 16:17:53][][INFO] Matched: GET /admin (admin_page)
[2019-04-17 16:17:53][bitwarden_rs::config][WARN] RELOADING TEMPLATES
[2019-04-17 16:17:53][bitwarden_rs::error][ERROR] TemplError.
[CAUSE] RenderError {
desc: "Variable "Enabled" not found in strict mode.",
template_name: Some(
"admin/page",
),
line_no: Some(
16,
),
column_no: Some(
29,
),
cause: None,
}
[2019-04-17 16:17:53][][INFO] Outcome: Success
[2019-04-17 16:17:53][][INFO] Response succeeded.
@dani-garcia commented on GitHub (Apr 17, 2019):
I imagine this is due to the change in commit
0136c793b4.Are you using custom templates for the admin page, because the provided template should work.
@pdarcos commented on GitHub (Apr 17, 2019):
That's probably it. Let me check
@pdarcos commented on GitHub (Apr 17, 2019):
Yup. That was it.
Thanks!