examples/auth: Use sensitive input for passwords
This commit is contained in:
parent
ef03df7664
commit
8c4c00b31a
@ -84,7 +84,7 @@ func loginPassword(w *gmi.ResponseWriter, r *gmi.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
password, ok := gmi.Input(w, r, "Password")
|
||||
password, ok := gmi.SensitiveInput(w, r, "Password")
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user