This commit is contained in:
1138-4EB 2019-01-08 20:44:24 +01:00
parent 7dfa81f489
commit 62b4fa8671

View File

@ -233,9 +233,7 @@ func quickSetup(flags *pflag.FlagSet, d pythonData) {
}, },
} }
_, noauth := getParamB(flags, "noauth") if _, noauth := getParamB(flags, "noauth"); noauth {
if noauth {
set.AuthMethod = auth.MethodNoAuth set.AuthMethod = auth.MethodNoAuth
err = d.store.Auth.Save(&auth.NoAuth{}) err = d.store.Auth.Save(&auth.NoAuth{})
} else { } else {