MCPcopy Index your code
hub / github.com/cloudfoundry/cli / passwordRequired

Method passwordRequired

command/v7/create_user_command.go:99–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99func (cmd *CreateUserCommand) passwordRequired() bool {
100 if (cmd.Origin == "" || strings.ToLower(cmd.Origin) == constant.DefaultOriginUaa) && !cmd.PasswordPrompt {
101 if cmd.Args.Password == nil {
102 return true
103 }
104 }
105 return false
106}

Callers 1

ExecuteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected