Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegisterCustomUserFunc ¶ added in v0.3.0
type RegisterCustomUserFunc func(users.LocksmithUser, database.DatabaseAccessor) users.LocksmithUserInterface
type RegistrationHandler ¶
type RegistrationHandler struct { DefaultRoleName string DisablePublicRegistration bool ConfigureCustomUser RegisterCustomUserFunc EmailAsUsername bool MinimumLengthRequirement int HIBP hibp.HIBPSettings NewRegistrationEvent func(users.LocksmithUserInterface) }
func (RegistrationHandler) ServeHTTP ¶
func (rr RegistrationHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type RegistrationPageHandler ¶
type RegistrationPageHandler struct { AppName string // Only allow users with an invite code to register DisablePublicRegistration bool Styling pages.LocksmithPageStyling EmailAsUsername bool HasOnboarding bool InviteUsedRedirect string HIBPIntegrationOptions hibp.HIBPSettings MinimumLengthRequirement int }
func (RegistrationPageHandler) ServeHTTP ¶
func (rr RegistrationPageHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.