Set password type field

This commit is contained in:
Khanh Ngo 2023-03-16 16:25:38 +01:00
parent d3c47c53c8
commit 5e0217db04
No known key found for this signature in database
GPG Key ID: 29077342AA5648F6
2 changed files with 3 additions and 3 deletions

View File

@ -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">

View File

@ -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