Skip to content

Commit

Permalink
add login link to validation email
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbradford committed Jul 27, 2023
1 parent 9b8b6a1 commit 8c625dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/subscription_mailer/validation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Dear <%= @subscriber.name || "AgWeather subscriber" %>,<br>
</tr>
</table>

<p>This code will be valid for one hour. If you did not initiate this request, you can ignore this email.</p>
<p>This code will be valid for one hour. Alternatively, you can <%= link_to "click this link", validate_subscriber_url(@subscriber, token: @subscriber.auth_token) %> to be automatically logged in. If you did not initiate this request, you can ignore this email.</p>

<p>
Thank you,<br>
Expand Down

0 comments on commit 8c625dc

Please sign in to comment.