mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
Fix error with unset variable
This commit is contained in:
parent
843f3e166e
commit
6502c1615c
@ -253,7 +253,10 @@ defmodule PlausibleWeb.AuthController do
|
||||
|> redirect(to: "/settings")
|
||||
|
||||
{:error, changeset} ->
|
||||
render(conn, "user_settings.html", changeset: changeset)
|
||||
render(conn, "user_settings.html",
|
||||
changeset: changeset,
|
||||
subscription: conn.assigns[:current_user].subscription
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user