auth

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package auth handles the web UI and SMTP authentication

Index

Constants

This section is empty.

Variables

View Source
var (
	// UICredentials passwords
	UICredentials *htpasswd.File
	// SMTPCredentials passwords
	SMTPCredentials *htpasswd.File
)

Functions

func SetSMTPAuth

func SetSMTPAuth(s string) error

SetSMTPAuth will set SMTP credentials

func SetUIAuth

func SetUIAuth(s string) error

SetUIAuth will set Basic Auth credentials required for the UI & API

Types

This section is empty.

Jump to

Keyboard shortcuts

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