mirror of
https://github.com/friendica/friendica
synced 2025-04-24 17:50:11 +00:00
port hubzillas OpenWebAuth - fix some code standards violations
This commit is contained in:
parent
149142b4bc
commit
e4aaf8eb16
2 changed files with 22 additions and 22 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue