import v2.0.0.0_RC3 | 2012-07-01

https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

13
modules/users/forms/Login.php Executable file → Normal file
View File

@ -28,14 +28,19 @@ class Users_Form_Login extends Zend_Form
$password->setLabel('PASSWORD')
->setDecoratorOptions(array(
'separateLine' => true,
'dontMarkRequired' => true,
))
->setRequired(true);
));
$yubikey = new Monkeys_Form_Element_Text('yubikey');
$yubikey->setLabel('YUBIKEY')
->setDecoratorOptions(array(
'separateLine' => true,
))
->setAttrib('class', 'yubiKeyInput');
$rememberme = new Monkeys_Form_Element_Checkbox('rememberme');
$rememberme->setLabel('Remember me');
$this->addElements(array($username, $password, $rememberme));
$this->addElements(array($username, $password, $yubikey, $rememberme));
if ($this->_useCaptcha) {
$captcha = new Monkeys_Form_Element_Captcha('captcha', array(