Require the license with HTML5

This commit is contained in:
Mikael Nordfeldth 2016-02-08 17:56:35 +01:00
parent ef5ed10eb9
commit 7c90d7022b
1 changed files with 1 additions and 0 deletions

View 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';