forked from mettke/ssh-key-authority
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpassword_entry.php
38 lines (38 loc) · 1.54 KB
/
password_entry.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<h1>Unlock Key</h1>
<div>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">
<a data-toggle="collapse" href="#information">
Information
</a>
</h2>
</div>
<div id="information" class="panel-collapse collapse">
<div class="panel-body">
<p>
Entering the password will allow changes to synchronise to servers.
It will synchronise every change and is not restricted to the current user.
The password is cached for 15 minutes.
Afterwards it will be necessary to enter the password again.
</p>
</div>
</div>
</div>
<p>
Please enter the password for the ssh key:
</p>
<form method="post" action="<?php outurl($this->data->relative_request_url) ?>" class="form-horizontal">
<?php out($this->get('active_user')->get_csrf_field(), ESC_NONE) ?>
<div class="form-group">
<div class="col-md form-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" class="form-control" autofocus require>
</div>
<div class="col-md form-group">
<button type="submit" name="password_entry" value="1" class="btn btn-primary">Confirm</button>
<a href="" class="navigate-back">Cancel</a>
</div>
</div>
</form>
</div>