mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
Fix master build (#3432)
This commit is contained in:
parent
d7cd719d4f
commit
e12ea9701d
@ -163,7 +163,7 @@ defmodule Plausible.Auth.User do
|
||||
|
||||
Path.join(PlausibleWeb.Endpoint.url(), ["avatar/", hash])
|
||||
end
|
||||
|
||||
|
||||
defp validate_email_changed(changeset) do
|
||||
if !get_change(changeset, :email) && !changeset.errors[:email] do
|
||||
add_error(changeset, :email, "can't be the same", validation: :different_email)
|
||||
|
@ -127,6 +127,7 @@ defmodule PlausibleWeb.Components.Generic do
|
||||
attr :href, :string, required: true
|
||||
attr :new_tab, :boolean, default: false
|
||||
attr :class, :string, default: ""
|
||||
attr :id, :any, default: nil
|
||||
slot :inner_block
|
||||
|
||||
def unstyled_link(assigns) do
|
||||
|
Loading…
Reference in New Issue
Block a user