log 삭제
This commit is contained in:
@@ -44,7 +44,7 @@ exports.login = async (req, res) => {
|
||||
role: user.role,
|
||||
name: user.name
|
||||
},
|
||||
process.env.JWT_SECRET || 'your-secret-key',
|
||||
process.env.JWT_SECRET,
|
||||
{ expiresIn: process.env.JWT_EXPIRES_IN || '1d' }
|
||||
);
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ exports.selectClub = async (req, res) => {
|
||||
}
|
||||
|
||||
req.session.clubId = clubId;
|
||||
console.log(`Session clubId: ${clubId}`);
|
||||
// console.log(`Session clubId: ${clubId}`);
|
||||
res.status(200).json({ message: '클럽을 선택했습니다.' });
|
||||
} catch (error) {
|
||||
console.error('클럽 선택 오류:', error);
|
||||
|
||||
Reference in New Issue
Block a user