projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add native captcha and enable it by default.
[akkoma]
/
lib
/
pleroma
/
password_reset_token.ex
diff --git
a/lib/pleroma/password_reset_token.ex
b/lib/pleroma/password_reset_token.ex
index 4a833f6a5ba4909a58a264f20cfffb731bc4cb03..db398b1fc5aaf58a0ba5ac2021525f74b78399e6 100644
(file)
--- a/
lib/pleroma/password_reset_token.ex
+++ b/
lib/pleroma/password_reset_token.ex
@@
-12,7
+12,7
@@
defmodule Pleroma.PasswordResetToken do
alias Pleroma.User
schema "password_reset_tokens" do
alias Pleroma.User
schema "password_reset_tokens" do
- belongs_to(:user, User, type:
Pleroma.FlakeId
)
+ belongs_to(:user, User, type:
FlakeId.Ecto.CompatType
)
field(:token, :string)
field(:used, :boolean, default: false)
field(:token, :string)
field(:used, :boolean, default: false)