Browse Source

Update login.html.php

replacing text with key values from language files
pull/508/head
vallyol 4 years ago
committed by GitHub
parent
commit
17a140cf0f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      system/admin/views/login.html.php

+ 3
- 3
system/admin/views/login.html.php View File

@ -11,14 +11,14 @@
if (empty($username)) {
echo 'error';
}
} ?>" name="user" placeholder="Username"/>
} ?>" name="user" placeholder="<?php echo i18n('User'); ?>"/>
<br>
<label><?php echo i18n('Password');?> <span class="required">*</span></label>
<input type="password" class="form-control <?php if (isset($password)) {
if (empty($password)) {
echo 'error';
}
} ?>" name="password" placeholder="Password"/>
} ?>" name="password" placeholder="<?php echo i18n('Password'); ?>"/>
<br>
<input type="hidden" name="csrf_token" value="<?php echo get_csrf() ?>">
<?php if (config('google.reCaptcha') === 'true'): ?>
@ -30,4 +30,4 @@
</form>
<?php } else {
header('location: admin');
} ?>
} ?>

Loading…
Cancel
Save