mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
fix: a typo in authenticatedOrRedirect
This commit is contained in:
parent
c53778e7c1
commit
7e8b31cd09
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ const authenticatedOrRedirect = (req, res, next) => {
|
|||
if (user) {
|
||||
next();
|
||||
} else {
|
||||
res.redirect('/auth/login').end();
|
||||
res.redirect('/auth/login');
|
||||
}
|
||||
} else next();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue