mirror of
https://github.com/sasjs/server.git
synced 2026-01-06 22:20:06 +00:00
feat: ask for updated password on first login
This commit is contained in:
@@ -81,7 +81,8 @@ const authenticateToken = async (
|
||||
username: 'desktopModeUsername',
|
||||
displayName: 'desktopModeDisplayName',
|
||||
isAdmin: true,
|
||||
isActive: true
|
||||
isActive: true,
|
||||
needsToUpdatePassword: false
|
||||
}
|
||||
req.accessToken = 'desktopModeAccessToken'
|
||||
return next()
|
||||
|
||||
Reference in New Issue
Block a user