Skip to content

Commit

Permalink
use correct redis endpoint for session storage (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
LuccaBitfly authored Apr 24, 2024
1 parent 8afe624 commit 6bd4b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/pkg/api/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func NewSessionManager(cfg *types.Config) *scs.SessionManager {
pool := &redis.Pool{
MaxIdle: 10,
Dial: func() (redis.Conn, error) {
return redis.Dial("tcp", cfg.RedisCacheEndpoint)
return redis.Dial("tcp", cfg.RedisSessionStoreEndpoint)
},
}

Expand Down

0 comments on commit 6bd4b68

Please sign in to comment.