examples/auth: Use sensitive input for passwords

This commit is contained in:
Adnan Maolood 2020-10-21 17:38:58 -04:00
parent ef03df7664
commit 8c4c00b31a

View File

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