You are here

public function MiniorangeUser::__construct in Google Authenticator / 2 Factor Authentication - 2FA 7

File

classes/User.php, line 17

Class

MiniorangeUser

Code

public function __construct($customerId, $username, $phone, $name, $authType, $email = "") {
  $this->customerId = $customerId;
  $this->username = $username;
  $this->phone = str_replace(" ", "", $phone);
  $this->name = $name;
  $this->authType = $authType;
  $this->email = $email;
}