mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 09:00:25 +00:00
61 lines
2.9 KiB
PHP
Executable file
61 lines
2.9 KiB
PHP
Executable file
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<div class="row">
|
|
<div class="col">
|
|
<i class="fas fa-user-lock mr-2"></i><?php echo _("Authentication"); ?>
|
|
</div>
|
|
</div><!-- /.row -->
|
|
</div><!-- /.card-header -->
|
|
<div class="card-body">
|
|
<?php $status->showMessages(); ?>
|
|
<h4><?php echo _("Authentication settings") ;?></h4>
|
|
<form role="form" action="auth_conf" method="POST">
|
|
<?php echo CSRFTokenFieldTag() ?>
|
|
<div class="row">
|
|
<div class="form-group col-md-6">
|
|
<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">
|
|
<div class="form-group col-md-6">
|
|
<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">
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="form-group col-md-6">
|
|
<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">
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="form-group col-md-6">
|
|
<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">
|
|
<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>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<input type="submit" class="btn btn-outline btn-primary" name="UpdateAdminPassword" value="<?php echo _("Save settings"); ?>" />
|
|
</form>
|
|
</div><!-- /.card-body -->
|
|
<div class="card-footer"></div>
|
|
</div><!-- /.card -->
|
|
</div><!-- /.col-lg-12 -->
|
|
</div><!-- /.row -->
|