mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Fix change password function
This commit is contained in:
parent
3301800f42
commit
e0773b1c06
@ -14,9 +14,10 @@ import (
|
||||
)
|
||||
|
||||
type setAuthModel struct {
|
||||
Type string
|
||||
Secret string
|
||||
CurrentSecret string
|
||||
// The json tags are required, as the change password form decodes into this object
|
||||
Type string `json:"type"`
|
||||
Secret string `json:"secret"`
|
||||
CurrentSecret string `json:"current_secret"`
|
||||
}
|
||||
|
||||
// SetAuth sets a auth method. This can be used for "me" and `2` for example
|
||||
|
Loading…
Reference in New Issue
Block a user