mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-28 04:21:17 +00:00
Fix key and type variable names for mysql
This commit is contained in:
parent
ab95a69dc8
commit
e22e290f67
8 changed files with 32 additions and 32 deletions
|
@ -286,7 +286,7 @@ impl<'a, 'r> FromRequest<'a, 'r> for OrgHeaders {
|
|||
device: headers.device,
|
||||
user,
|
||||
org_user_type: {
|
||||
if let Some(org_usr_type) = UserOrgType::from_i32(org_user.type_) {
|
||||
if let Some(org_usr_type) = UserOrgType::from_i32(org_user.atype) {
|
||||
org_usr_type
|
||||
} else {
|
||||
// This should only happen if the DB is corrupted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue