mirror of https://github.com/perkeep/perkeep.git
name members in Userpass
Change-Id: I902e2b4fe101ad76ab5eac56ab512b9536ad98f6
This commit is contained in:
parent
cd7289a332
commit
d3ff726d49
|
@ -63,7 +63,7 @@ func FromConfig(authConfig string) (AuthMode, os.Error) {
|
|||
}
|
||||
username := pieces[1]
|
||||
password := pieces[2]
|
||||
mode = &UserPass{username, password}
|
||||
mode = &UserPass{Username: username, Password: password}
|
||||
default:
|
||||
return nil, fmt.Errorf("Unknown auth type: %q", authType)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue