mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-08-12 22:19:08 +00:00
Update login API code
- Updated jsonwebtoken to latest version - Trim `username` received from the login form ( Fixes #2348 ) - Make uuid and user_uuid a combined primary key for the devices table ( Fixes #2295 ) - Updated crates including regex which contains a CVE ( https://blog.rust-lang.org/2022/03/08/cve-2022-24713.html )
This commit is contained in:
parent
06f8e69c70
commit
c4d565b15b
14 changed files with 126 additions and 132 deletions
|
@ -42,7 +42,7 @@ table! {
|
|||
}
|
||||
|
||||
table! {
|
||||
devices (uuid) {
|
||||
devices (uuid, user_uuid) {
|
||||
uuid -> Text,
|
||||
created_at -> Datetime,
|
||||
updated_at -> Datetime,
|
||||
|
|
|
@ -42,7 +42,7 @@ table! {
|
|||
}
|
||||
|
||||
table! {
|
||||
devices (uuid) {
|
||||
devices (uuid, user_uuid) {
|
||||
uuid -> Text,
|
||||
created_at -> Timestamp,
|
||||
updated_at -> Timestamp,
|
||||
|
|
|
@ -42,7 +42,7 @@ table! {
|
|||
}
|
||||
|
||||
table! {
|
||||
devices (uuid) {
|
||||
devices (uuid, user_uuid) {
|
||||
uuid -> Text,
|
||||
created_at -> Timestamp,
|
||||
updated_at -> Timestamp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue