mirror of
https://github.com/friendica/friendica
synced 2025-04-27 17:10:10 +00:00
Fix the key fields in the self contacts
This commit is contained in:
parent
f1830b84cd
commit
9c675c3f01
2 changed files with 8 additions and 6 deletions
|
@ -366,7 +366,7 @@ class User
|
|||
if (!$repair) {
|
||||
// Check if "addr" is present and correct
|
||||
$addr = $owner['nickname'] . '@' . substr(DI::baseUrl(), strpos(DI::baseUrl(), '://') + 3);
|
||||
$repair = ($addr != $owner['addr']);
|
||||
$repair = ($addr != $owner['addr']) || empty($owner['prvkey']) || empty($owner['pubkey']);
|
||||
}
|
||||
|
||||
if (!$repair) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue