diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-17 19:35:47 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-17 19:46:43 +0900 |
| commit | 34592a45efd9ceb0579c8eae1ba752da7f625950 (patch) | |
| tree | 8920a4db5cf1c97b719b959030d6089cc545d212 /backend/auth/auth.go | |
| parent | f926ef682de637b717d3b0cc0eaee43c59e83c95 (diff) | |
| download | phperkaigi-2025-albatross-34592a45efd9ceb0579c8eae1ba752da7f625950.tar.gz phperkaigi-2025-albatross-34592a45efd9ceb0579c8eae1ba752da7f625950.tar.zst phperkaigi-2025-albatross-34592a45efd9ceb0579c8eae1ba752da7f625950.zip | |
refactor(backend): move fortee package
Diffstat (limited to 'backend/auth/auth.go')
| -rw-r--r-- | backend/auth/auth.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/auth/auth.go b/backend/auth/auth.go index 0e55d8d..10906f5 100644 --- a/backend/auth/auth.go +++ b/backend/auth/auth.go @@ -8,8 +8,8 @@ import ( "github.com/jackc/pgx/v5" "golang.org/x/crypto/bcrypt" - "github.com/nsfisis/iosdc-japan-2024-albatross/backend/auth/fortee" "github.com/nsfisis/iosdc-japan-2024-albatross/backend/db" + "github.com/nsfisis/iosdc-japan-2024-albatross/backend/fortee" ) var ( @@ -119,7 +119,7 @@ func verifyForteeAccount(ctx context.Context, username string, password string) ctx, cancel := context.WithTimeout(ctx, forteeAPITimeout) defer cancel() - canonicalizedUsername, err := fortee.LoginFortee(ctx, username, password) + canonicalizedUsername, err := fortee.Login(ctx, username, password) if errors.Is(err, context.DeadlineExceeded) { return "", ErrForteeLoginTimeout } |
