@@ -40,7 +40,8 @@ const loginUser = async (req, res) => {
|
||||
|
||||
const token = jwt.sign(
|
||||
{
|
||||
client_id: user.client_id,
|
||||
client_id: user.client_id,
|
||||
userid: user.userid,
|
||||
username: user.username
|
||||
},
|
||||
JWT_SECRET,
|
||||
|
||||
Reference in New Issue
Block a user