提交
This commit is contained in:
@@ -88,7 +88,8 @@ router.post('/login', async (req, res) => {
|
||||
userId: agent.user_id,
|
||||
agentId: agent.agent_id,
|
||||
phone: agent.phone,
|
||||
role: 'agent'
|
||||
role: 'agent',
|
||||
userType: agent.user_type,
|
||||
},
|
||||
JWT_SECRET,
|
||||
{ expiresIn: '24h' }
|
||||
|
||||
Reference in New Issue
Block a user