diff --git a/src/api/private/signin.ts b/src/api/private/signin.ts index b68fc89aa0..0ff3471bbb 100644 --- a/src/api/private/signin.ts +++ b/src/api/private/signin.ts @@ -5,7 +5,6 @@ import Signin from '../models/signin'; import serialize from '../serializers/signin'; import event from '../event'; - export default async (req: express.Request, res: express.Response) => { res.header('Access-Control-Allow-Credentials', 'true'); diff --git a/src/api/private/signup.ts b/src/api/private/signup.ts index 7df1f25b37..d008554141 100644 --- a/src/api/private/signup.ts +++ b/src/api/private/signup.ts @@ -6,7 +6,6 @@ import User from '../models/user'; import { validateUsername } from '../models/user'; import serialize from '../serializers/user'; - recaptcha.init({ secret_key: config.recaptcha.secretKey });