]> git.mxchange.org Git - friendica.git/commitdiff
require a note to the admin when register policy is set to needs approval
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 2 Oct 2019 05:39:42 +0000 (07:39 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Wed, 2 Oct 2019 05:39:42 +0000 (07:39 +0200)
src/Module/Register.php

index 217581b160b01d52658e08cb894df09fcfa42a93..d02a34a0b5b581b8f334502921f18df6091ed7df 100644 (file)
@@ -114,7 +114,7 @@ class Register extends BaseModule
                $o = Renderer::replaceMacros($tpl, [
                        '$invitations'  => Config::get('system', 'invitation_only'),
                        '$permonly'     => intval(Config::get('config', 'register_policy')) === self::APPROVE,
-                       '$permonlybox'  => ['permonlybox', L10n::t('Note for the admin'), '', L10n::t('Leave a message for the admin, why you want to join this node')],
+                       '$permonlybox'  => ['permonlybox', L10n::t('Note for the admin'), '', L10n::t('Leave a message for the admin, why you want to join this node'), "required"],
                        '$invite_desc'  => L10n::t('Membership on this site is by invitation only.'),
                        '$invite_label' => L10n::t('Your invitation code: '),
                        '$invite_id'    => $invite_id,