From af542e339e5a611d2a1b5876450bee841b577640 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 5 May 2022 10:05:40 -0700 Subject: removed redis dependency --- routes/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routes/index.go') diff --git a/routes/index.go b/routes/index.go index efa8838..c088379 100644 --- a/routes/index.go +++ b/routes/index.go @@ -42,7 +42,7 @@ func Index(ctx *fiber.Ctx) error { data.Board.Name = "" data.Key = config.Key data.Board.Domain = config.Domain - data.Board.ModCred, _ = db.GetPassword(ctx) + data.Board.ModCred, _ = db.GetPasswordFromSession(ctx) data.Board.Actor = actor data.Board.Post.Actor = actor.Id data.Board.Restricted = actor.Restricted -- cgit v1.2.3