Update:Remove RSS feeds from login response payload and include feeds from library items request

This commit is contained in:
advplyr 2022-12-31 10:59:12 -06:00
parent 8bbfee334c
commit 0e6b0d3eff
9 changed files with 36 additions and 55 deletions

View file

@ -212,7 +212,7 @@ class Server {
]
dyanimicRoutes.forEach((route) => router.get(route, (req, res) => res.sendFile(Path.join(distPath, 'index.html'))))
router.post('/login', this.getLoginRateLimiter(), (req, res) => this.auth.login(req, res, this.rssFeedManager.feedsArray))
router.post('/login', this.getLoginRateLimiter(), (req, res) => this.auth.login(req, res))
router.post('/logout', this.authMiddleware.bind(this), this.logout.bind(this))
router.post('/init', (req, res) => {
if (this.db.hasRootUser) {