fix: Make LoginURL and RegisterURL return template.URL

This commit is contained in:
ptrcnull 2021-01-03 03:57:41 +01:00
parent 5e3708ca60
commit 55441eaf85

View file

@ -1,11 +1,14 @@
package modweb package modweb
import "github.com/gofiber/fiber/v2/middleware/session" import (
"github.com/gofiber/fiber/v2/middleware/session"
"html/template"
)
type AuthHandler interface { type AuthHandler interface {
Module Module
LoginURL() string LoginURL() template.URL
RegisterURL() string RegisterURL() template.URL
} }
type User struct { type User struct {