[FIX] totally weird bug
This commit is contained in:
parent
4190f5d711
commit
c4703ec72b
@ -35,13 +35,13 @@ $language_code = (isset($_SESSION['user']['lang_code']))?$_SESSION['user']['lang
|
|||||||
</div>
|
</div>
|
||||||
<!-- display label & field for login -->
|
<!-- display label & field for login -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label" data-error="wrong" data-success="right" for="login_form_email">* <?php echo $oTrans->getTranslation('login_form_email', $_SESSION['config']['default_lang_code']); ?></label>
|
<label class="control-label" data-error="wrong" data-success="right" for="formLoginFieldEmail">* <?php echo $oTrans->getTranslation('login_form_email', $_SESSION['config']['default_lang_code']); ?></label>
|
||||||
<input class="form-control required_field" aria-describedby="basic-addon1" id="login_form_email" name="login_form_email" type="email" value=""/>
|
<input class="form-control required_field" aria-describedby="basic-addon1" id="formLoginFieldEmail" name="formLoginFieldEmail" type="email" value=""/>
|
||||||
</div>
|
</div>
|
||||||
<!-- display label & field for password -->
|
<!-- display label & field for password -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label" for="login_form_password">* <?php echo $oTrans->getTranslation('login_form_password', $_SESSION['config']['default_lang_code']); ?></label>
|
<label class="control-label" for="formLoginFieldPassword">* <?php echo $oTrans->getTranslation('login_form_password', $_SESSION['config']['default_lang_code']); ?></label>
|
||||||
<input class="form-control required_field" type="password" id="login_form_password" name="login_form_password" value=""/>
|
<input class="form-control required_field" type="password" id="formLoginFieldPassword" name="formLoginFieldPassword" value=""/>
|
||||||
</div>
|
</div>
|
||||||
<!-- display button submit -->
|
<!-- display button submit -->
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
if(isset($_POST['formLoginButtonSubmit'])){
|
if(isset($_POST['formLoginButtonSubmit'])){
|
||||||
|
$user = new ClassUser();
|
||||||
$user = $oUser->login($_POST);
|
$user = $oUser->login($_POST);
|
||||||
|
|
||||||
if(isset($user['email'])){
|
if(isset($user['email'])){
|
||||||
|
Loading…
Reference in New Issue
Block a user