We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8fa598 commit 7be6ee6Copy full SHA for 7be6ee6
web/backend/src/controllers/authentication.ts
@@ -79,7 +79,7 @@ authenticationRouter.post('/logout', (req, res) => {
79
// the information of the current user.
80
authenticationRouter.get('/personal_info', async (req, res) => {
81
if (!req.session.userId) {
82
- res.status(401).send('UnAuthenticated');
+ res.status(401).send('Unauthenticated');
83
return;
84
}
85
const userPermissions = await getUserPermissions(req.session.userId);
0 commit comments