<.header> Log in <:subtitle> <%= if @current_scope do %> You need to reauthenticate to perform sensitive actions on your account. <% else %> Don't have an account? <.link navigate={~p"/users/register"} class="font-semibold text-blue-600 hover:text-blue-700 dark:text-blue-400 dark:hover:text-blue-300" > Sign up for an account now. <% end %>
<.icon name="hero-information-circle" class="h-6 w-6 flex-shrink-0 text-blue-600 dark:text-blue-400" />

You are running the local mail adapter.

To see sent emails, visit <.link href="/dev/mailbox" class="font-medium underline">the mailbox page.

<.form :let={f} for={@form} as={:user} id="login_form_password" action={~p"/users/log-in"}> <.input readonly={!!@current_scope} field={f[:email]} type="email" label="Email" autocomplete="email" required phx-mounted={JS.focus()} /> <.input field={f[:password]} type="password" label="Password" autocomplete="current-password" required />
<.button class="w-full" variant="primary" name={@form[:remember_me].name} value="true"> Log in
or
<.form :let={f} for={@form} as={:user} id="login_form_magic" action={~p"/users/log-in"}> <.input readonly={!!@current_scope} field={f[:email]} type="email" label="Email" autocomplete="email" required /> <.button class="w-full"> Send me a login link instead