0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-04-01 02:42:49 -05:00

move HostInfo import to rest of auth imports

This commit is contained in:
BlockListed 2025-02-22 11:06:06 +01:00
parent d0d63a7b34
commit ffc45998e1

View file

@ -12,13 +12,12 @@ use rocket::{
Catcher, Route,
};
use crate::auth::HostInfo;
use crate::{
api::{
core::{log_event, two_factor},
unregister_push_device, ApiResult, EmptyResult, JsonResult, Notify,
},
auth::{decode_admin, encode_jwt, generate_admin_claims, ClientIp},
auth::{decode_admin, encode_jwt, generate_admin_claims, ClientIp, HostInfo},
config::ConfigBuilder,
db::{backup_database, get_sql_server_version, models::*, DbConn, DbConnType},
error::{Error, MapResult},