We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e9e4cb commit 7bee4abCopy full SHA for 7bee4ab
src/server/routes/user.ts
@@ -20,7 +20,7 @@ userRouter.get('/login', async (req, res) => {
20
const { id, isAdmin, iamGroups } = user
21
22
if (!id) return res.status(401).send('Unauthorized')
23
- const lastRestart = await getLastRestart()
+
24
const hasIamAccess = checkIamAccess(iamGroups)
25
26
const enrolledCourses = await getEnrolledCourses(user)
0 commit comments