port hubzillas OpenWebAuth - fix some code standards violations

This commit is contained in:
rabuzarus 2018-06-20 19:32:26 +02:00
parent 149142b4bc
commit e4aaf8eb16
2 changed files with 22 additions and 22 deletions

View file

@ -77,13 +77,13 @@ class Magic extends BaseModule
// Create a header that is signed with the local users private key.
$headers = HTTPSignature::createSig(
'',
$headers,
$user['prvkey'],
'acct:' . $user['nickname'] . '@' . $a->get_hostname() . ($a->path ? '/' . $a->path : ''),
false,
true,
'sha512'
'',
$headers,
$user['prvkey'],
'acct:' . $user['nickname'] . '@' . $a->get_hostname() . ($a->path ? '/' . $a->path : ''),
false,
true,
'sha512'
);
// Try to get an authentication token from the other instance.