From f99b11db1d273923c179b3b897479da40b0e00d2 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sat, 16 Nov 2019 21:27:42 -0500 Subject: [PATCH] don't store sessions in ets (oops) --- config/config.exs | 3 ++- lib/philomena_web/templates/notification/index.html.slime | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/config.exs b/config/config.exs index 754c6f27..af16b711 100644 --- a/config/config.exs +++ b/config/config.exs @@ -24,7 +24,8 @@ config :philomena, :pow, extensions: [PowResetPassword, PowLockout, PowCaptcha, PowPersistentSession], controller_callbacks: Pow.Extension.Phoenix.ControllerCallbacks, mailer_backend: PhilomenaWeb.PowMailer, - captcha_verifier: Philomena.Captcha + captcha_verifier: Philomena.Captcha, + cache_store_backend: Pow.Store.Backend.MnesiaCache config :bcrypt_elixir, log_rounds: 12 diff --git a/lib/philomena_web/templates/notification/index.html.slime b/lib/philomena_web/templates/notification/index.html.slime index ad9d51d4..93ccd547 100644 --- a/lib/philomena_web/templates/notification/index.html.slime +++ b/lib/philomena_web/templates/notification/index.html.slime @@ -6,7 +6,7 @@ h1 Notification Area = render PhilomenaWeb.PaginationView, "_pagination.html", page: @notifications, route: route, conn: @conn = for notification <- @notifications do - = render PhilomenaWeb.NotificationView, "_notification.html", notification: notification + = render PhilomenaWeb.NotificationView, "_notification.html", notification: notification, conn: @conn p To get notifications on new comments and forum posts, click the 'Subscribe' button in the bar at the top of an image or forum topic. You'll get notifications here for any new posts or comments. p By default you'll be subscribed to any images or topics you reply to. You can configure this in your user settings page.