[GH-ISSUE #461] admin page login broke after latest update #281

Closed
opened 2026-03-03 01:27:34 +03:00 by kerem · 3 comments
Owner

Originally created by @pdarcos on GitHub (Apr 17, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/461

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.

Originally created by @pdarcos on GitHub (Apr 17, 2019). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/461 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.
kerem closed this issue 2026-03-03 01:27:35 +03:00
Author
Owner

@dani-garcia commented on GitHub (Apr 17, 2019):

I imagine this is due to the change in commit github.com/dani-garcia/bitwarden_rs@0136c793b4.

Are you using custom templates for the admin page, because the provided template should work.

<!-- gh-comment-id:484162736 --> @dani-garcia commented on GitHub (Apr 17, 2019): I imagine this is due to the change in commit https://github.com/dani-garcia/bitwarden_rs/commit/0136c793b4ac5fb2b5717ac535012f2ee154c96a. Are you using custom templates for the admin page, because the provided template should work.
Author
Owner

@pdarcos commented on GitHub (Apr 17, 2019):

That's probably it. Let me check

<!-- gh-comment-id:484165783 --> @pdarcos commented on GitHub (Apr 17, 2019): That's probably it. Let me check
Author
Owner

@pdarcos commented on GitHub (Apr 17, 2019):

Yup. That was it.

Thanks!

<!-- gh-comment-id:484167706 --> @pdarcos commented on GitHub (Apr 17, 2019): Yup. That was it. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#281
No description provided.