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