diff --git a/lib/Controller/RegisterController.php b/lib/Controller/RegisterController.php index ed6a83c..51bfdb7 100644 --- a/lib/Controller/RegisterController.php +++ b/lib/Controller/RegisterController.php @@ -236,8 +236,10 @@ class RegisterController extends Controller { 'loginname' => $loginname, 'fullname' => $fullname, 'show_fullname' => $this->config->getAppValue('registration', 'show_fullname', 'no') === 'yes', + 'enforce_fullname' => $this->config->getAppValue('registration', 'enforce_fullname', 'no') === 'yes', 'phone' => $phone, 'show_phone' => $this->config->getAppValue('registration', 'show_phone', 'no') === 'yes', + 'enforce_phone' => $this->config->getAppValue('registration', 'enforce_phone', 'no') === 'yes', 'message' => $message, 'password' => $password, 'additional_hint' => $additional_hint, diff --git a/templates/form/user.php b/templates/form/user.php index a5fea2b..104ff8d 100644 --- a/templates/form/user.php +++ b/templates/form/user.php @@ -45,7 +45,7 @@ script('registration', 'registration-form');
+} ?>" placeholder="t('Full name')); ?>" />
+} ?>" placeholder="t('Phone number')); ?>" />