Documentation
¶
Overview ¶
templ: version: v0.3.819
templ: version: v0.3.819
templ: version: v0.3.819
templ: version: v0.3.819
templ: version: v0.3.819
Index ¶
- Variables
- func ForgottenPasswordForm(props ForgottenPasswordFormProps) templ.Component
- func ForgottenPasswordPage(csrfToken string) templ.Component
- func LoginForm(csrfToken string, success bool, errors views.Errors) templ.Component
- func LoginPage(data LoginPageProps) templ.Component
- func RegisterForm(data RegisterFormProps) templ.Component
- func RegisterPage(data RegisterFormProps) templ.Component
- func ResetPasswordForm(props ResetPasswordFormProps) templ.Component
- func ResetPasswordPage(invalidToken, internalErr bool, csrfToken, resetToken string) templ.Component
- func ResetPasswordTokenInvalid() templ.Component
- func VerifyEmailPage(tokenInvalid bool) templ.Component
- type ForgottenPasswordFormProps
- type LoginPageProps
- type RegisterFormProps
- type ResetPasswordFormProps
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAuthDetailsWrong string = "ErrAuthDetailsWrong" ErrEmailNotValidated string = "ErrEmailNotValidated" )
View Source
var ( UsernameField string = "UsernameField" EmailField string = "EmailField" PasswordField string = "PasswordField" ConfirmPasswordField string = "ConfirmPasswordField" )
Functions ¶
func ForgottenPasswordForm ¶
func ForgottenPasswordForm(props ForgottenPasswordFormProps) templ.Component
func ForgottenPasswordPage ¶
func LoginPage ¶
func LoginPage(data LoginPageProps) templ.Component
func RegisterForm ¶
func RegisterForm(data RegisterFormProps) templ.Component
func RegisterPage ¶
func RegisterPage(data RegisterFormProps) templ.Component
func ResetPasswordForm ¶
func ResetPasswordForm(props ResetPasswordFormProps) templ.Component
func ResetPasswordPage ¶
func VerifyEmailPage ¶
Types ¶
type LoginPageProps ¶
type RegisterFormProps ¶
type RegisterFormProps struct { InternalError bool SuccessRegister bool Fields map[string]components.InputFieldProps CsrfToken string }
type ResetPasswordFormProps ¶
type ResetPasswordFormProps struct { Fields map[string]components.InputFieldProps CsrfToken string ResetToken string Errors views.Errors }
Click to show internal directories.
Click to hide internal directories.