fix: Make LoginURL and RegisterURL return template.URL
This commit is contained in:
parent
5e3708ca60
commit
55441eaf85
1 changed files with 6 additions and 3 deletions
9
auth.go
9
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 {
|
||||
|
|
Loading…
Reference in a new issue