src/Extensions/MemberProfileExtension.php
public function saveManualEmailValidation($value)
    {
        if ($value === 'confirm') {
            $this->owner->NeedsValidation = false;
        } elseif ($value === 'resend') {
            $email = MemberConfirmationEmail::create($this->owner->ProfilePage(), $this->owner);
            $email->send();
        }
    }
public function saveManualEmailValidation($value)
    {
        if ($value === 'confirm') {
            $this->owner->NeedsValidation = false;
        } elseif ($value === 'resend') {
            $email = MemberConfirmationEmail::create($this->owner->ProfilePage(), $this->owner);
            $email->send();
        }
    }
public function saveManualEmailValidation ( $ value ) { if ( $ value === 'confirm' ) { $ this -> owner -> NeedsValidation = false ; } elseif ( $ value === 'resend' ) { $ email = MemberConfirmationEmail :: create ( $ this -> owner -> ProfilePage ( ) , $ this -> owner ) ; $ email -> send ( ) ; } }
Allows admin users to manually confirm a user.
Allows admin users to manually confirm a user .