Hi i have a form that logins at a mail. I have installed an SSL at this domain and i would like to add an option at the form for the user to login using https or not
the form is above. How can i add an option with check-box from user to login using https ???? IF this is checked when the user clicks "login" he will redirected to https and will login.
If i have not describe well please ask for details.
Thanks
<form class="login-form" action="<?php echo $this->moduleBaseUrl; ?>/XXX/XXXXXX" name="loginPage" id="loginPage" method="post">
<input type='hidden' name='emailName' value=''/>
<input type='hidden' name='emailDomain' value=''/>
<input type='hidden' name='cssStyle' value='<?php echo $this->cssStyle ?>'/>
<table class="login">
<tbody>
<tr>
<td>
<label class="user"><?php print $this->translate('Email') ?>:</label> <input id="email" class="input-email" type="text" name="email" tabindex="1" />
</td>
</tr>
<tr>
<td>
<label class="pass"><?php print $this->translate('Password') ?>:</label> <input id="password" class="input-pass" type="password" name="password" tabindex="2" />
</td>
</tr>
<tr id="LoginBtn" style="display: none;">
<td>
<input class="loginbtn <?php echo $this->cssStyle ?>" type="submit" value="<?php print $this->translate('Login') ?>" /> <span class="remember"><?php print $this->translate('Remember Me') ?></span> <input class="check" type="checkbox" value="1" name="RememberMe" />
</td>
</tr>
</tbody>
</table>
</form>