2019-08-18 22:39:22 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12">
|
2019-10-12 22:04:27 +00:00
|
|
|
<div class="card">
|
2019-11-01 09:08:49 +00:00
|
|
|
<div class="card-header">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
2020-02-29 17:09:31 +00:00
|
|
|
<i class="fas fa-user-lock mr-2"></i><?php echo _("Authentication"); ?>
|
2019-11-01 09:08:49 +00:00
|
|
|
</div>
|
|
|
|
</div><!-- /.row -->
|
|
|
|
</div><!-- /.card-header -->
|
2019-10-12 22:04:27 +00:00
|
|
|
<div class="card-body">
|
2019-08-19 00:08:46 +00:00
|
|
|
<?php $status->showMessages(); ?>
|
2019-10-14 20:19:46 +00:00
|
|
|
<h4><?php echo _("Authentication settings") ;?></h4>
|
2020-12-15 13:48:51 +00:00
|
|
|
<form role="form" action="auth_conf" method="POST">
|
2019-09-07 15:42:31 +00:00
|
|
|
<?php echo CSRFTokenFieldTag() ?>
|
2019-08-18 22:39:22 +00:00
|
|
|
<div class="row">
|
2019-10-24 20:42:03 +00:00
|
|
|
<div class="form-group col-md-6">
|
2019-08-18 22:39:22 +00:00
|
|
|
<label for="username"><?php echo _("Username"); ?></label>
|
|
|
|
<input type="text" class="form-control" name="username" value="<?php echo htmlspecialchars($username, ENT_QUOTES); ?>"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2019-10-24 20:42:03 +00:00
|
|
|
<div class="form-group col-md-6">
|
2023-09-13 19:26:19 +00:00
|
|
|
<div class="mb-2"><?php echo _("Old password"); ?></div>
|
|
|
|
<div class="input-group">
|
|
|
|
<input type="password" class="form-control" name="oldpass"/>
|
|
|
|
<div class="input-group-append">
|
2023-09-13 19:45:12 +00:00
|
|
|
<button class="btn btn-light js-toggle-password" type="button" data-target="[name=oldpass]" data-toggle-with="fas fa-eye-slash"><i class="fas fa-eye mx-2"></i></button>
|
2023-09-13 19:26:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-08-18 22:39:22 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2019-10-24 20:42:03 +00:00
|
|
|
<div class="form-group col-md-6">
|
2023-09-13 19:26:19 +00:00
|
|
|
<div class="mb-2"><?php echo _("New password"); ?></div>
|
|
|
|
<div class="input-group">
|
|
|
|
<input type="password" class="form-control" name="newpass"/>
|
|
|
|
<div class="input-group-append">
|
2023-09-13 19:45:12 +00:00
|
|
|
<button class="btn btn-light js-toggle-password" type="button" data-target="[name=newpass]" data-toggle-with="fas fa-eye-slash"><i class="fas fa-eye mx-2"></i></button>
|
2023-09-13 19:26:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-08-18 22:39:22 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
2019-10-24 20:42:03 +00:00
|
|
|
<div class="form-group col-md-6">
|
2023-09-13 19:26:19 +00:00
|
|
|
<div class="mb-2"><?php echo _("Repeat new password"); ?></div>
|
|
|
|
<div class="input-group">
|
|
|
|
<input type="password" class="form-control" name="newpassagain"/>
|
|
|
|
<div class="input-group-append">
|
2023-09-13 19:45:12 +00:00
|
|
|
<button class="btn btn-light js-toggle-password" type="button" data-target="[name=newpassagain]" data-toggle-with="fas fa-eye-slash"><i class="fas fa-eye mx-2"></i></button>
|
2023-09-13 19:26:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-08-18 22:39:22 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<input type="submit" class="btn btn-outline btn-primary" name="UpdateAdminPassword" value="<?php echo _("Save settings"); ?>" />
|
|
|
|
</form>
|
2019-10-12 22:04:27 +00:00
|
|
|
</div><!-- /.card-body -->
|
2019-10-13 22:49:37 +00:00
|
|
|
<div class="card-footer"></div>
|
2019-10-12 22:04:27 +00:00
|
|
|
</div><!-- /.card -->
|
2019-08-18 22:39:22 +00:00
|
|
|
</div><!-- /.col-lg-12 -->
|
|
|
|
</div><!-- /.row -->
|