Skip to content

Commit f6f25e9

Browse files
committed
Default security version to 2
1 parent 344ef72 commit f6f25e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bitwarden-crypto/src/security_state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl SecurityState {
6060
pub fn initialize_for_user(user_id: uuid::Uuid) -> Self {
6161
SecurityState {
6262
entity_id: user_id.as_bytes().to_vec().into(),
63-
version: 1,
63+
version: 2,
6464
}
6565
}
6666

@@ -188,6 +188,6 @@ mod tests {
188188
),
189189
user_id
190190
);
191-
assert_eq!(verified_security_state.version(), 1);
191+
assert_eq!(verified_security_state.version(), 2);
192192
}
193193
}

0 commit comments

Comments
 (0)