I would like to ask about activation e-mail which is sent to new user.
Once the user clicks the link, it redirects to homepage. Is it possible to change the destination? I would rather like to make it to login page.
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.
Sign up to join this communityI would like to ask about activation e-mail which is sent to new user.
Once the user clicks the link, it redirects to homepage. Is it possible to change the destination? I would rather like to make it to login page.
Craft support desk helped me, so I would like to share it.
The destination can be set with this. Add it on your general.php
.
'activateAccountSuccessPath' => 'users/login',
Please be sure to change 'users/login'
to the destination you want to set.
If it does not works, add this;
'verifyEmailSuccessPath' => 'users/login'