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

Method ClearTwoFactorSecret

ent/user_update.go:1184–1187  ·  view source on GitHub ↗

ClearTwoFactorSecret clears the value of the "two_factor_secret" field.

()

Source from the content-addressed store, hash-verified

1182
1183// ClearTwoFactorSecret clears the value of the "two_factor_secret" field.
1184func (uuo *UserUpdateOne) ClearTwoFactorSecret() *UserUpdateOne {
1185 uuo.mutation.ClearTwoFactorSecret()
1186 return uuo
1187}
1188
1189// SetAvatar sets the "avatar" field.
1190func (uuo *UserUpdateOne) SetAvatar(s string) *UserUpdateOne {

Callers

nothing calls this directly

Calls 1

ClearTwoFactorSecretMethod · 0.45

Tested by

no test coverage detected