aboutsummaryrefslogtreecommitdiffstats
path: root/services/auth/signin.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/auth/signin.go')
-rw-r--r--services/auth/signin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/auth/signin.go b/services/auth/signin.go
index 6d515ac628..5fdf6d2bd7 100644
--- a/services/auth/signin.go
+++ b/services/auth/signin.go
@@ -56,7 +56,7 @@ func UserSignIn(ctx context.Context, username, password string) (*user_model.Use
}
if hasUser {
- source, err := auth.GetSourceByID(user.LoginSource)
+ source, err := auth.GetSourceByID(ctx, user.LoginSource)
if err != nil {
return nil, nil, err
}
@@ -85,7 +85,7 @@ func UserSignIn(ctx context.Context, username, password string) (*user_model.Use
}
}
- sources, err := auth.AllActiveSources()
+ sources, err := auth.AllActiveSources(ctx)
if err != nil {
return nil, nil, err
}