Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Commit

Permalink
Fix post reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
bakape committed Oct 4, 2015
1 parent 9602cc9 commit 3973bc5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions server/report.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var admin = require('../admin'),
var admin = require('./admin'),
caps = require('./caps'),
config = require('../config'),
common = require('../common'),
Expand All @@ -12,8 +12,10 @@ var admin = require('../admin'),
var SMTP = require('nodemailer').createTransport('SMTP', config.SMTP);

const ERRORS = {
'invalid-site-private-key': "Sorry, the server isn't set up with reCAPTCHA properly.",
'invalid-request-cookie': "Something went wrong with our reCAPTCHA token. Please try again.",
'invalid-site-private-key': "Sorry, the server isn't set up with"
+ " reCAPTCHA properly.",
'invalid-request-cookie': "Something went wrong with our reCAPTCHA"
+ " token. Please try again.",
'incorrect-captcha-sol': "Incorrect.",
'captcha-timeout': "Sorry, you took too long. Please try again."
};
Expand Down

0 comments on commit 3973bc5

Please sign in to comment.