mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Set password type field
This commit is contained in:
parent
d3c47c53c8
commit
5e0217db04
2 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ Users Settings
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="_user_password" class="control-label">Password</label>
|
<label for="_user_password" class="control-label">Password</label>
|
||||||
<input type="text" class="form-control" id="_user_password" name="_user_password" value=""
|
<input type="password" class="form-control" id="_user_password" name="_user_password" value=""
|
||||||
placeholder="Leave empty to keep the password unchanged">
|
placeholder="Leave empty to keep the password unchanged">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|
|
@ -514,11 +514,11 @@ func HashesChanged(db store.IStore) bool {
|
||||||
newClient, newServer := GetCurrentHash(db)
|
newClient, newServer := GetCurrentHash(db)
|
||||||
|
|
||||||
if oldClient != newClient {
|
if oldClient != newClient {
|
||||||
fmt.Println("Hash for client differs")
|
//fmt.Println("Hash for client differs")
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
if oldServer != newServer {
|
if oldServer != newServer {
|
||||||
fmt.Println("Hash for server differs")
|
//fmt.Println("Hash for server differs")
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Add table
Reference in a new issue