Add configurable prevention of user registration
Should be done appropriately soon.
This commit is contained in:
@ -7,11 +7,13 @@ defmodule OutlookWeb.UserLoginLive do
|
||||
<.header class="text-center">
|
||||
Sign in to account
|
||||
<:subtitle>
|
||||
<%= unless System.get_env("DISABLE_REGISTRATION") do %>
|
||||
Don't have an account?
|
||||
<.link navigate={~p"/users/register"} class="font-semibold text-brand hover:underline">
|
||||
Sign up
|
||||
</.link>
|
||||
for an account now.
|
||||
<% end %>
|
||||
</:subtitle>
|
||||
</.header>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user