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
1 changed files with 6 additions and 3 deletions

View File

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