abiao 5 anni fa
parent
commit
dc51b91c0f
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  1. 2 4
      webApp/backend/views/site/login.php

+ 2 - 4
webApp/backend/views/site/login.php

@@ -71,8 +71,7 @@ $this->params['breadcrumbs'][] = $this->title;
             <?= $form->field($model, 'password', ['template' => "<div style='position:relative'>{input}\n{error}\n{hint}</div>"])
                 ->passwordInput(['placeholder' => Yii::t("app", "Password")]) ?>
 
-         <?
-         /*= $form->field($model, 'captcha', ['template' => '<div style="position:relative">{input}{error}{hint}</div>'])->widget(Captcha::classname(), [
+            <?= $form->field($model, 'captcha', ['template' => '<div style="position:relative">{input}{error}{hint}</div>'])->widget(Captcha::classname(), [
                 'template' => '{input}{image}',
                 'options' => [
                     "class"=>"form-control",
@@ -82,8 +81,7 @@ $this->params['breadcrumbs'][] = $this->title;
                 'imageOptions' => [
                     "style" => "cursor:pointer;right:0px"
                 ]
-            ]) */
-         ?>
+            ]) ?>
             <?= Html::submitButton(Yii::t("app", "Login"), [
                 'class' => 'btn btn-primary block full-width m-b',
                 'name' => 'login-button'