lot of new functionalities
This commit is contained in:
14
servers/web/auth_routes.go
Normal file
14
servers/web/auth_routes.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package web
|
||||
|
||||
import (
|
||||
"github.com/gorilla/mux"
|
||||
)
|
||||
|
||||
func (ws *WebServer) setupAuthRoutes(r *mux.Router) {
|
||||
r.HandleFunc("/auth/onboarding", ws.authHandler.Onboarding)
|
||||
r.HandleFunc("/auth/disconnect", ws.authHandler.Disconnect)
|
||||
r.HandleFunc("/auth/lost-password", ws.authHandler.LostPasswordInit)
|
||||
r.HandleFunc("/auth/lost-password/recover", ws.authHandler.LostPasswordRecover)
|
||||
r.HandleFunc("/auth/groups/", ws.authHandler.Groups)
|
||||
r.HandleFunc("/auth/groups/switch", ws.authHandler.GroupSwitch)
|
||||
}
|
||||
Reference in New Issue
Block a user