[#114] Added :user_id component to email confirmation path to improve the security.
Added tests for `confirm_email` action.
This commit is contained in:
parent
8adcd1e80f
commit
f69cbf4755
5 changed files with 26 additions and 10 deletions
|
|
@ -70,6 +70,7 @@ defmodule Pleroma.UserEmail do
|
|||
Router.Helpers.confirm_email_url(
|
||||
Endpoint,
|
||||
:confirm_email,
|
||||
user.id,
|
||||
to_string(user.info.confirmation_token)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue