рабочий вариант, но скороть 10 МБит
This commit is contained in:
@@ -28,6 +28,9 @@ func (m *Module) RegisterRoutes(router chi.Router) {
|
||||
r.Post("/bootstrap-owner", m.handleBootstrapOwner)
|
||||
})
|
||||
router.Route("/auth", func(r chi.Router) {
|
||||
r.Get("/ui/login", m.handleLoginHTMLPage)
|
||||
r.Post("/ui/login", m.handleLoginHTML)
|
||||
r.Get("/ui/vpn-download", m.handleVPNDownloadHTML)
|
||||
r.Post("/login", m.handleLogin)
|
||||
r.Post("/refresh", m.handleRefresh)
|
||||
r.Post("/sessions/revoke", m.handleRevokeAuthSession)
|
||||
|
||||
Reference in New Issue
Block a user