don't store sessions in ets (oops)

This commit is contained in:
byte[] 2019-11-16 21:27:42 -05:00
parent d18dc007e0
commit f99b11db1d
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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.