src/Webiny/Login/Login.php
public function setUserAccountConfirmationStatus($username, $confirmed = true)
    {
        $this->username = $username;
        $this->getMeta()->confirmed = $confirmed;
        $this->getMeta()->save();
    }
public function setUserAccountConfirmationStatus($username, $confirmed = true)
    {
        $this->username = $username;
        $this->getMeta()->confirmed = $confirmed;
        $this->getMeta()->save();
    }
public function setUserAccountConfirmationStatus ( $ username , $ confirmed = true ) { $ this -> username = $ username ; $ this -> getMeta ( ) -> confirmed = $ confirmed ; $ this -> getMeta ( ) -> save ( ) ; }
Change the `confirmed` user account status flag.

@param      $username
@param bool $confirmed

@throws LoginException
Change the confirmed user account status flag .