only allow actions (admin) when in right state; prepare decline reason
- fixes on path's and varnames
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user