]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Require the license with HTML5
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 8 Feb 2016 16:56:35 +0000 (17:56 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 8 Feb 2016 16:56:35 +0000 (17:56 +0100)
actions/register.php

index 0d020663b9788717df84912907dc348f251f22ac..97f0e19cfdd64143f8a5d46e2d74b5985f03212c 100644 (file)
@@ -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';