Documentation ¶
Index ¶
- Constants
- func Cmd() *cobra.Command
- func Execute(ctx context.Context, userID int64, password string, ba backendAction) error
- func Run(ctx context.Context, gc gRPCClient, userID int64, password string) error
- func SetPassword(ctx context.Context, in *proto.SetPasswordRequest, ba backendAction) (*proto.SetPasswordResponse, error)
Constants ¶
View Source
const ( // SetPasswordHelp contains the short help text for the command. SetPasswordHelp = "Sets the password of an user in OpenSlides" // SetPasswordHelpExtra contains the long help text for the command without // the headline. SetPasswordHelpExtra = "This command sets the password of an user by a given user ID." )
Variables ¶
This section is empty.
Functions ¶
func SetPassword ¶
func SetPassword(ctx context.Context, in *proto.SetPasswordRequest, ba backendAction) (*proto.SetPasswordResponse, error)
SetPassword gets the hash and sets the password for the given user. This function is the server side entrypoint for this package.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.