go-urlsh/internal/constants/constants.go

11 lines
238 B
Go
Raw Permalink Normal View History

2024-05-04 17:06:01 +02:00
package constants
import "time"
var LoginCookieName = "gourlsh_auth"
var MFAFlowCookieName = "gourlsh_mfa_key"
var MFASetupCookieName = "gourlsh_mfa_setup"
var LoginCookieLength = 40
var LoginCookieExpiryDuration = 30 * 24 * time.Hour