From fa820c8d6a2e0b61219b96e8c2053b4fac59446e Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Tue, 19 Nov 2024 09:36:02 +0000 Subject: [PATCH] Update OTP imports --- auth-otp/Sources/App/Controllers/TOTPController.swift | 2 +- sessions/Sources/App/Models/User.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/auth-otp/Sources/App/Controllers/TOTPController.swift b/auth-otp/Sources/App/Controllers/TOTPController.swift index 6bba9c31..67c0600e 100644 --- a/auth-otp/Sources/App/Controllers/TOTPController.swift +++ b/auth-otp/Sources/App/Controllers/TOTPController.swift @@ -1,7 +1,7 @@ import Foundation import Hummingbird import HummingbirdAuth -import OTP +import HummingbirdOTP struct TOTPVerificationSession: Codable { let secret: String diff --git a/sessions/Sources/App/Models/User.swift b/sessions/Sources/App/Models/User.swift index f51f293b..56e55db1 100644 --- a/sessions/Sources/App/Models/User.swift +++ b/sessions/Sources/App/Models/User.swift @@ -12,12 +12,12 @@ // //===----------------------------------------------------------------------===// -import Bcrypt import FluentKit import Foundation import Hummingbird import HummingbirdAuth import HummingbirdBasicAuth +import HummingbirdBcrypt import NIOPosix /// Database description of a user