]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/register.php
change default timeout setting for HTTPClient
[quix0rs-gnu-social.git] / actions / register.php
index 0d020663b9788717df84912907dc348f251f22ac..6f23244d13526d2ac2d5898e53bf9bcadcbee15d 100644 (file)
@@ -120,9 +120,9 @@ class RegisterAction extends Action
      *
      * @return void
      */
-    function handle($args)
+    function handle()
     {
-        parent::handle($args);
+        parent::handle();
 
         if (common_config('site', 'closed')) {
             // TRANS: Client error displayed when trying to register to a closed site.
@@ -483,6 +483,7 @@ class RegisterAction extends Action
                            'id' => 'license',
                            'class' => 'checkbox',
                            'name' => 'license',
+                           'required' => 'true',
                            'value' => 'true');
             if ($this->boolean('license')) {
                 $attrs['checked'] = 'checked';