fix: correct account activation link parameter
- Change activation token parameter from `activation_token` to `id` in the account activation link. - This ensures the link correctly references the user activation token for account activation.
This commit is contained in:
parent
299e930d1a
commit
2c7e4970f3
@ -6,7 +6,7 @@
|
||||
Welcome to the Sample App! Click on the link below to activate your account:
|
||||
</p>
|
||||
|
||||
<%= link_to "Activate", edit_account_activation_url(@user.activation_token, email: @user.email) %>
|
||||
<%= link_to "Activate", edit_account_activation_url(id: @user.activation_token, email: @user.email) %>
|
||||
|
||||
<p>
|
||||
<%= edit_account_activation_url(@user.activation_token, email: @user.email) %>
|
||||
|
Loading…
Reference in New Issue
Block a user