shift73k/lib/shift73k_web/views/user_session_view.ex

8 lines
200 B
Elixir
Raw Normal View History

2021-03-05 19:23:32 -05:00
defmodule Shift73kWeb.UserSessionView do
use Shift73kWeb, :view
import Shift73k, only: [get_app_allow_reg: 0]
2021-03-05 19:23:32 -05:00
alias Shift73k.Accounts.User
def allow_registration, do: get_app_allow_reg()
2021-03-05 19:23:32 -05:00
end