We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04b6ffa commit 31fb4a1Copy full SHA for 31fb4a1
1 file changed
Controller/UsersController.php
@@ -492,6 +492,8 @@ public function resend_verification() {
492
try {
493
if ($this->{$this->modelClass}->checkEmailVerification($this->request->data)) {
494
$this->_sendVerificationEmail($this->{$this->modelClass}->data);
495
+ $this->Session->setFlash(__d('users', 'The email was resent. Please check your inbox.'));
496
+ $this->redirect('login');
497
} else {
498
$this->Session->setFlash(__d('users', 'The email could not be sent. Please check errors.'));
499
}
0 commit comments