Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Vapor 4 #8

Merged
merged 21 commits into from
Feb 13, 2023
Merged

Migrate to Vapor 4 #8

merged 21 commits into from
Feb 13, 2023

Conversation

marius-se
Copy link
Contributor

@marius-se marius-se commented Oct 3, 2022

This PR migrates the entire library to Vapor 4. There is an example project over here.

Note: There is more work to do:

  1. Two of the integration tests are currently commented/ not in use/ don't pass - but I plan to revive them soon!
  2. The readme needs to be updated
  3. Currently the OAuthUser is a very opinionated class. We should consider changing this to a generic type/ protocol.

@0xTim 0xTim mentioned this pull request Oct 3, 2022
@0xTim 0xTim linked an issue Oct 3, 2022 that may be closed by this pull request
@marius-se marius-se marked this pull request as ready for review November 2, 2022 16:46
@marius-se marius-se requested a review from 0xTim November 2, 2022 17:43
@@ -52,15 +52,15 @@ struct PasswordTokenHandler {
}

guard let userID = userManager.authenticateUser(username: username, password: password) else {
log.warning("LOGIN WARNING: Invalid login attempt for user \(username)")
logger.warning("LOGIN WARNING: Invalid login attempt for user \(username)")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make the log level configurable

@0xTim
Copy link
Member

0xTim commented Feb 13, 2023

Going to merge this now, we can iterate on it going forward

@0xTim 0xTim merged commit 074f3c2 into brokenhandsio:master Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Any plans for Vapor 3?
2 participants