mirror of
https://github.com/friendica/friendica
synced 2025-04-22 21:10:10 +00:00
Clarify the effect of "net-publish"
This commit is contained in:
parent
9182879a00
commit
ee6cceba30
11 changed files with 21 additions and 34 deletions
|
@ -616,8 +616,7 @@ class User
|
|||
$verified = !empty($data['verified']);
|
||||
$language = !empty($data['language']) ? Strings::escapeTags(trim($data['language'])) : 'en';
|
||||
|
||||
$publish = !empty($data['profile_publish_reg']);
|
||||
$netpublish = $publish && DI::config()->get('system', 'directory');
|
||||
$netpublish = $publish = !empty($data['profile_publish_reg']);
|
||||
|
||||
if ($password1 != $confirm) {
|
||||
throw new Exception(DI::l10n()->t('Passwords do not match. Password unchanged.'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue