add language selector to admin

This commit is contained in:
Harvey Tindall
2021-01-15 13:48:18 +00:00
committed by Harvey Tindall
parent 2d2727f7e8
commit 5e8d7944bd
6 changed files with 40 additions and 24 deletions
+1 -1
View File
@@ -577,7 +577,7 @@ func start(asDaemon, firstCall bool) {
router.GET("/accounts", app.AdminPage)
router.GET("/settings", app.AdminPage)
router.GET("/lang", app.GetLanguages)
router.GET("/lang/:page", app.GetLanguages)
router.GET("/token/login", app.getTokenLogin)
router.GET("/token/refresh", app.getTokenRefresh)
router.POST("/newUser", app.NewUser)