only allow actions (admin) when in right state; prepare decline reason

- fixes on path's and varnames
This commit is contained in:
2018-02-23 17:43:08 +01:00
parent e88eb13d91
commit e38d201ec1
6 changed files with 57 additions and 41 deletions

View File

@@ -73,10 +73,10 @@ class MatrixConnection
error_log("no message to send");
}
$mac = hash_hmac('sha1', $username, $registration_shared_secret);
$mac = hash_hmac('sha1', $username, $shared_secret);
$data = array(
"username" => $user,
"username" => $username,
"password" => $password,
"mac" => $mac,
);