fix bug beim aufruf von generateToken()
This commit is contained in:
parent
9aa6fe96d8
commit
baafad49ed
|
@ -36,7 +36,7 @@ class Registrator extends BaseClass {
|
|||
|
||||
$this->log->d("Validation started for token: {$_GET['token']}");
|
||||
if ($this->checkToken() === true) {
|
||||
if ($this->generateToken($token, 32) === true) {
|
||||
if ($this->generateToken(32) === true) {
|
||||
if ($this->registerMXID() === true) {
|
||||
$message = "Your temporary password is {$tmp_passwd}. Please
|
||||
immediately change your password!";
|
||||
|
|
|
@ -49,7 +49,7 @@ class Request extends BaseClass {
|
|||
$message = "User Id is already taken";
|
||||
return false;
|
||||
} else {
|
||||
if ($this->generateToken($token, 16) === true) {
|
||||
if ($this->generateToken(16) === true) {
|
||||
if ($this->saveRequest() === true) {
|
||||
if ($this->sendVerificationMail() === true) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue