2021-03-05 19:23:32 -05:00
|
|
|
defmodule Shift73kWeb.UserSessionView do
|
|
|
|
use Shift73kWeb, :view
|
|
|
|
alias Shift73k.Accounts.User
|
2022-08-14 09:14:42 -04:00
|
|
|
|
|
|
|
@app_vars Application.compile_env(:shift73k, :app_global_vars, allow_registration: :true)
|
|
|
|
@app_allow_registration @app_vars[:allow_registration]
|
|
|
|
|
|
|
|
def allow_registration, do: @app_allow_registration
|
2021-03-05 19:23:32 -05:00
|
|
|
end
|