mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 01:10:09 +03:00
[PR #6153] [MERGED] a little cleanup after SSO merge #2461
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?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/6153
Author: @stefan0xC
Created: 8/9/2025
Status: ✅ Merged
Merged: 8/9/2025
Merged by: @BlackDex
Base:
main← Head:cleanup-sso📝 Commits (4)
d501350fix some typosdce8e37rename scss variable to sso_enabled8c7065arefactor is_mobile to device6fda838also mask sensitive sso config options📊 Changes
16 files changed (+55 additions, -49 deletions)
View changed files
📝
.env.template(+1 -1)📝
playwright/README.md(+22 -19)📝
playwright/compose/warden/Dockerfile(+1 -1)📝
playwright/test.env(+1 -1)📝
src/api/core/accounts.rs(+3 -3)📝
src/api/core/organizations.rs(+1 -1)📝
src/api/icons.rs(+2 -2)📝
src/api/identity.rs(+3 -3)📝
src/api/web.rs(+1 -1)📝
src/auth.rs(+1 -1)📝
src/config.rs(+4 -1)📝
src/db/models/device.rs(+4 -4)📝
src/db/models/group.rs(+1 -1)📝
src/sso.rs(+3 -3)📝
src/sso_client.rs(+1 -1)📝
src/static/templates/scss/vaultwarden.scss.hbs(+6 -6)📄 Description
A few things I noticed while reviewing the changes (that were still pending). Mostly some typos in the comments and some function names. I've also moved the
is_mobile()to theDeviceto be more like theis_cli()check and I think it would be better if the scss variable is calledsso_enabledinstead ofsso_disabledbecause to me it's easier to reason about that way.I'm also planning on working on the playwright setup (as discussed in #4369) and maybe some more refactoring of the code base now that it has been merged.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.