From 7ccf2461197804948865482c5b1144e90d63bd71 Mon Sep 17 00:00:00 2001 From: Phillip Thelen Date: Sun, 14 Jun 2015 15:28:30 +0200 Subject: [PATCH] Enable authentication for iOS IAP route --- website/src/routes/payments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/routes/payments.js b/website/src/routes/payments.js index 118f923689..8656db4d28 100644 --- a/website/src/routes/payments.js +++ b/website/src/routes/payments.js @@ -18,7 +18,7 @@ router.post("/stripe/subscribe/edit", auth.auth, i18n.getUserLanguage, payments. router.get("/stripe/subscribe/cancel", auth.authWithUrl, i18n.getUserLanguage, payments.stripeSubscribeCancel); router.post("/iap/android/verify", auth.authWithUrl, /*i18n.getUserLanguage, */payments.iapAndroidVerify); -router.post("/iap/ios/verify", /*auth.authWithUrl, i18n.getUserLanguage, */ payments.iapIosVerify); +router.post("/iap/ios/verify", auth.auth, /*i18n.getUserLanguage, */ payments.iapIosVerify); router.get("/api/v2/coupons/valid-discount/:code", /*auth.authWithUrl, i18n.getUserLanguage, */ payments.validCoupon);