Manage user account
This commit is contained in:
parent
e2d2697907
commit
ee9a453f63
4 changed files with 297 additions and 0 deletions
6
main.go
6
main.go
|
|
@ -115,6 +115,12 @@ func main() {
|
|||
app.Get("/totp/verify", controllers.TotpVerifyPage)
|
||||
app.Post("/totp/verify", controllers.TotpVerifyPage)
|
||||
|
||||
// Account manage
|
||||
app.Get("/account/manage", controllers.AccountManage)
|
||||
app.Post("/account/manage", controllers.AccountManage)
|
||||
app.Get("/account/totp", controllers.AccountTotp)
|
||||
app.Post("/account/totp", controllers.AccountTotp)
|
||||
|
||||
// Admin: Sections
|
||||
app.Get("/admin/sections", controllers.Sections)
|
||||
app.Get("/admin/sections/:id<int;min(0)>", controllers.SectionShow)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue