✏️ fix typo

This commit is contained in:
JustSong
2022-03-08 15:15:27 +08:00
committed by GitHub
parent bee1c2940f
commit bc07d6b737
+1 -1
View File
@@ -58,7 +58,7 @@ router.post('/login', async (req, res, next) => {
'message', 'message',
`欢迎${user.isAdmin ? '管理员' : '普通'}用户 ${ `欢迎${user.isAdmin ? '管理员' : '普通'}用户 ${
user.username user.username
}系统!` }系统!`
); );
return res.redirect('/'); return res.redirect('/');
} else { } else {