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
|
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 {
|
||||||
|
|
Loading…
Reference in a new issue