mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-18 19:49:30 +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 class="form-group">
|
||||
<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">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
|
|
|
@ -514,11 +514,11 @@ func HashesChanged(db store.IStore) bool {
|
|||
newClient, newServer := GetCurrentHash(db)
|
||||
|
||||
if oldClient != newClient {
|
||||
fmt.Println("Hash for client differs")
|
||||
//fmt.Println("Hash for client differs")
|
||||
return true
|
||||
}
|
||||
if oldServer != newServer {
|
||||
fmt.Println("Hash for server differs")
|
||||
//fmt.Println("Hash for server differs")
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
|
Loading…
Add table
Reference in a new issue