Skip to content

Commit

Permalink
Merge pull request #241 from pow-auth/flip-flags
Browse files Browse the repository at this point in the history
Flip Phoenix 1.7 flags
  • Loading branch information
danschultzer authored Apr 28, 2023
2 parents 5397c61 + 79eddba commit 7311193
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 7311193

Please sign in to comment.