The user doesn't need to be logged in to confirm his/her email.
Particle revert of I43ceaddb370d09784021b3fc2d5d1ff6616fef1f
Bug: T62434
Change-Id: Idf3f9827daaac87f5c57617f4e5d42ca9569839d
$this->checkReadOnly();
$this->checkPermissions();
- $this->requireLogin( 'confirmemail_needlogin' );
-
// This could also let someone check the current email address, so
// require both permissions.
if ( !$this->getUser()->isAllowed( 'viewmyprivateinfo' ) ) {
}
if ( $code === null || $code === '' ) {
+ $this->requireLogin( 'confirmemail_needlogin' );
if ( Sanitizer::validateEmail( $this->getUser()->getEmail() ) ) {
$this->showRequestForm();
} else {