Fix bug where users could get points for completing the same challenge.
parent
b9372b9af6
commit
f1acc59f82
|
@ -98,7 +98,7 @@ module.exports = {
|
|||
|
||||
chat: function chat(req, res) {
|
||||
if (req.user && req.user.progressTimestamps.length > 5) {
|
||||
res.redirect('http://gitter.im/freecodecamp/freecodecamp');
|
||||
res.redirect('http://freecode.slack.com');
|
||||
} else {
|
||||
res.render('resources/chat', {
|
||||
title: "Watch us code live on Twitch.tv"
|
||||
|
|
Loading…
Reference in New Issue