Skip to content

Commit 5e0217d

Browse files
committed
Set password type field
1 parent d3c47c5 commit 5e0217d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

templates/users_settings.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h4 class="modal-title">Edit User</h4>
4242
</div>
4343
<div class="form-group">
4444
<label for="_user_password" class="control-label">Password</label>
45-
<input type="text" class="form-control" id="_user_password" name="_user_password" value=""
45+
<input type="password" class="form-control" id="_user_password" name="_user_password" value=""
4646
placeholder="Leave empty to keep the password unchanged">
4747
</div>
4848
<div class="form-group">

util/util.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -514,11 +514,11 @@ func HashesChanged(db store.IStore) bool {
514514
newClient, newServer := GetCurrentHash(db)
515515

516516
if oldClient != newClient {
517-
fmt.Println("Hash for client differs")
517+
//fmt.Println("Hash for client differs")
518518
return true
519519
}
520520
if oldServer != newServer {
521-
fmt.Println("Hash for server differs")
521+
//fmt.Println("Hash for server differs")
522522
return true
523523
}
524524
return false

0 commit comments

Comments
 (0)