mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-25 17:25:57 +03:00
[PR #2354] [MERGED] Update login API code and update crates to fix CVE #3080
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#3080
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/2354
Author: @BlackDex
Created: 3/3/2022
Status: ✅ Merged
Merged: 3/13/2022
Merged by: @dani-garcia
Base:
main← Head:multi-account-login📝 Commits (1)
c4d565bUpdate login API code📊 Changes
14 files changed (+126 additions, -132 deletions)
View changed files
📝
Cargo.lock(+67 -75)📝
Cargo.toml(+7 -7)➕
migrations/mysql/2022-03-02-210038_update_devices_primary_key/down.sql(+0 -0)➕
migrations/mysql/2022-03-02-210038_update_devices_primary_key/up.sql(+4 -0)➕
migrations/postgresql/2022-03-02-210038_update_devices_primary_key/down.sql(+0 -0)➕
migrations/postgresql/2022-03-02-210038_update_devices_primary_key/up.sql(+4 -0)➕
migrations/sqlite/2022-03-02-210038_update_devices_primary_key/down.sql(+0 -0)➕
migrations/sqlite/2022-03-02-210038_update_devices_primary_key/up.sql(+23 -0)📝
src/api/identity.rs(+4 -13)📝
src/auth.rs(+7 -11)📝
src/db/models/device.rs(+7 -23)📝
src/db/schemas/mysql/schema.rs(+1 -1)📝
src/db/schemas/postgresql/schema.rs(+1 -1)📝
src/db/schemas/sqlite/schema.rs(+1 -1)📄 Description
usernamereceived from the login form ( Fixes https://github.com/dani-garcia/vaultwarden/issues/2348 )🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.