diff options
author | FChannel <> | 2022-05-05 10:05:40 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | af542e339e5a611d2a1b5876450bee841b577640 (patch) | |
tree | 987f4fce83d49605a0a81d68fcfac9b2d57cf8a7 /routes/index.go | |
parent | 493fc8e025fd613d9faf0b573d610e4a0e0c0228 (diff) |
removed redis dependency
Diffstat (limited to 'routes/index.go')
-rw-r--r-- | routes/index.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |