Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
t-aleksander committed Jul 19, 2024
1 parent 7681446 commit b84ec5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/enterprise/handlers/openid_login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use openidconnect::{
use openidconnect::{AuthenticationFlow, CsrfToken, EmptyAdditionalClaims, IdToken, Nonce, Scope};

use crate::appstate::AppState;
use crate::db::{AppEvent, DbPool, MFAInfo, Session, SessionState, Settings, User, UserInfo};
use crate::db::{DbPool, MFAInfo, Session, SessionState, Settings, User, UserInfo};
use crate::enterprise::db::models::openid_provider::OpenIdProvider;
use crate::error::WebError;
use crate::handlers::user::check_username;
Expand Down
8 changes: 4 additions & 4 deletions tests/openid_login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ async fn test_openid_providers() {
assert_eq!(response.status(), StatusCode::OK);

let provider_data = AddProviderData::new(
"test".to_string(),
"https://accounts.google.com".to_string(),
"client_id".to_string(),
"client_secret".to_string(),
"test",
"https://accounts.google.com",
"client_id",
"client_secret",
);

let response = client
Expand Down

0 comments on commit b84ec5b

Please sign in to comment.