Fix hashPass and remove error code return on authorize

This commit is contained in:
advplyr 2022-12-18 14:21:38 -06:00
parent 73a61872fa
commit ddce6ec5b7
2 changed files with 2 additions and 3 deletions

View file

@ -123,8 +123,7 @@ class MiscController {
// When authorizing an API token and forward auth is enabled then validate user using forward auth headers
if (global.ForwardAuth.Enabled && !this.auth.validateForwardAuthUser(req)) {
Logger.error(`[MiscController] Authorize token with forward auth enabled failed for user "${req.user.username}"`)
return res.sendStatus(403)
Logger.warn(`[MiscController] Authorize token with forward auth enabled failed for user "${req.user.username}"`)
}
const userResponse = this.auth.getUserLoginResponsePayload(req.user, this.rssFeedManager.feedsArray)