very basic auth

- user is requested to login when trying to access content
This commit is contained in:
2025-09-10 21:02:19 +01:00
parent 167f138647
commit dc72c5414e
34 changed files with 349 additions and 79 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ func qrRequest(c *gin.Context) {
c.JSON(200, response)
}
func RouteExpenses(router *gin.Engine) {
func RouteExpenses(router *gin.RouterGroup) {
router.GET(ExpensesPath, ExpensesGlobalPage)
router.GET(ExpensesPath+"/:id", expensePage)
router.POST(ExpensesPath, expensesPartial)