updated login tokens

This commit is contained in:
2022-12-09 13:04:03 -06:00
parent 8ae527683b
commit 94f3ff9a26
4 changed files with 30 additions and 19 deletions

View File

@@ -54,11 +54,7 @@ func Init() {
}
username := redisUri.User.Username()
pass, passSet := redisUri.User.Password()
if !passSet {
panic("pass not set")
}
pass, _ := redisUri.User.Password()
client = redis.NewClient(&redis.Options{
Addr: redisUri.Host,