page_login_code_verify

package
v0.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoginCodeVerifyContent

func LoginCodeVerifyContent(urlBack string) string

LoginCodeVerifyContent builds the HTML for the login code verification page.

func LoginCodeVerifyScripts

func LoginCodeVerifyScripts(urlApiLoginCodeVerify, urlOnSuccess string) string

LoginCodeVerifyScripts builds the JS for the login code verification page.

Types

type Dependencies

type Dependencies struct {
	Endpoint          string
	RedirectOnSuccess string

	Layout func(content string) string

	Logger *slog.Logger
}

Dependencies contains the dependencies required to render the login code verify page.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL