Skip to content
Permalink
Browse files
BUGFIX: Plus sign in emails
  • Loading branch information
hijohnnylin committed Feb 18, 2020
1 parent 418357a commit d485101201620247aa5f72b66e0ff3c0ad3fc59f
Showing 1 changed file with 2 additions and 2 deletions.
@@ -120,7 +120,7 @@ router.post("/signup",
*
*********************************************/

router.get(["/confirm-email"],
router.get("/confirm-email",
[
BruteForce(50),
query("email")
@@ -140,7 +140,7 @@ router.get(["/confirm-email"],
validateCheck
],
(request, response, next) => {
const email = decodeURI(request.values.email);
const email = decodeURIComponent(request.values.email);
const code = request.values.code;
const browser = request.values.browser;
const lockdown = request.values.lockdown;

0 comments on commit d485101

Please sign in to comment.