Skip to content

Commit

Permalink
More typos
Browse files Browse the repository at this point in the history
  • Loading branch information
augustuswm committed Sep 14, 2023
1 parent 45f2981 commit 2fba412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rfd-api/src/endpoints/login/oauth/code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub async fn authz_code_redirect(
// Add in the user defined state and redirect uri
attempt.state = Some(query.state);

// Store the generate attempt
// Store the generated attempt
let attempt = ctx
.create_login_attempt(attempt)
.await
Expand Down Expand Up @@ -169,7 +169,7 @@ pub async fn authz_code_callback(

tracing::debug!(provider = ?provider.name(), "Acquired OAuth provider for authz code exchange");

// If we are missing the expected state parameter than we can not proceed at all with verifying
// If we are missing the expected state parameter then we can not proceed at all with verifying
// this callback request. We also do not have a redirect uri to send the user to so we instead
// report unauthorized
let attempt_id = query
Expand Down

0 comments on commit 2fba412

Please sign in to comment.