MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / SetPassword

Method SetPassword

ent/user_create.go:90–93  ·  view source on GitHub ↗

SetPassword sets the "password" field.

(s string)

Source from the content-addressed store, hash-verified

88
89// SetPassword sets the "password" field.
90func (uc *UserCreate) SetPassword(s string) *UserCreate {
91 uc.mutation.SetPassword(s)
92 return uc
93}
94
95// SetNillablePassword sets the "password" field if the given value is not nil.
96func (uc *UserCreate) SetNillablePassword(s *string) *UserCreate {

Callers 1

SetNillablePasswordMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected