When the user follows the link from the account validation email he received, he gets to the account validation page.
If not present in the email account creation form, this page requests a new password.
Submitting the new password (or requesting this page if the password already got submitted) activates the account and redirects the user to the login page.
When the user follows the link from the account validation email he received, he gets to the account validation page. If not present in the email account creation form, this page requests a new password. Submitting the new password (or requesting this page if the password already got submitted) activates the account and redirects the user to the login page.