]> git.mxchange.org Git - shipsimu.git/blobdiff - application/ship-simu/templates/de/code/login_form.ctp
Graphical code CAPTCHA partly finished, crypto class supports encryption/decryption...
[shipsimu.git] / application / ship-simu / templates / de / code / login_form.ctp
index 8c9414864e1749a3d8be32de97556d05c486803f..6d926e816545bac814b6070f8e734ec2e71207b9 100644 (file)
@@ -32,6 +32,7 @@ if ($helper->ifLoginIsEnabled()) {
        $helper->addInputPasswordField("pass");
        $helper->addFormGroup("buttons", "Alles richtig eingegeben?");
        $helper->addInputResetButton("Formular leeren");
+       $helper->addCaptcha();
        $helper->addInputSubmitButton("Zum Spiel einloggen");
 } else {
        // Formular deaktiviert
@@ -49,6 +50,7 @@ if ($helper->ifGuestLoginAllowed()) {
        $helper->addInputHiddenField("username", $this->getConfigInstance()->readConfig('guest_login_username'));
        $helper->addInputHiddenField("pass", $this->getConfigInstance()->readConfig('guest_login_password'));
        $helper->addFormGroup("buttons", "Gastlogins sind in der Funkionsweise eingeschränkt. Mehr dazu unter "Gastlogin".");
+       $helper->addCaptcha();
        $helper->addInputSubmitButton("Als Gast einloggen");
        $helper->flushContent();
 }