Skip to content

Commit

Permalink
Flip Phoenix 1.7 flags
Browse files Browse the repository at this point in the history
  • Loading branch information
danschultzer committed Apr 28, 2023
1 parent 5397c61 commit 79eddba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/pow_assent/phoenix/controllers/registration_html.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ defmodule PowAssent.Phoenix.RegistrationHTML do
@moduledoc false
use Pow.Phoenix.Template

if Pow.dependency_vsn_match?(:phoenix, ">= 1.7.0") do
# Credo will complain about unless statement but we want this first
# credo:disable-for-next-line
unless Pow.dependency_vsn_match?(:phoenix, "< 1.7.0") do
template :add_user_id, :html,
"""
<div class="mx-auto max-w-sm">
Expand Down

0 comments on commit 79eddba

Please sign in to comment.