From 55441eaf85a430bb52ef3d1ca5ade3c5f7407d35 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Sun, 3 Jan 2021 03:57:41 +0100 Subject: [PATCH] fix: Make LoginURL and RegisterURL return `template.URL` --- auth.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/auth.go b/auth.go index 080c375..58eef13 100644 --- a/auth.go +++ b/auth.go @@ -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 {