1.0.0 Alpha Release #59

Merged
netkas merged 213 commits from v1.0.0_alpha into master 2023-01-29 23:27:58 +00:00
Showing only changes of commit ec1aaf1d0f - Show all commits

View file

@ -149,6 +149,7 @@
return false; return false;
$this->Password = $this->encrypt(); $this->Password = $this->encrypt();
var_dump($this->Password);
return true; return true;
} }
@ -210,8 +211,8 @@
if(!($this->Password instanceof PasswordInterface)) if(!($this->Password instanceof PasswordInterface))
return null; return null;
$password = ZiProto::encode($this->Password->toArray(true)); $data = ZiProto::encode($this->Password->toArray(true));
return Crypto::encryptWithPassword($password, $password, true); return Crypto::encryptWithPassword($data, (string)$this->Password, true);
} }
/** /**