From c3ca2b4d463fac688a5f113580871480fb10c8f9 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 13 Feb 2019 19:06:44 +0000 Subject: [PATCH] add comment --- src/components/structures/auth/Registration.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/structures/auth/Registration.js b/src/components/structures/auth/Registration.js index 7629181d2d..6b578f0f68 100644 --- a/src/components/structures/auth/Registration.js +++ b/src/components/structures/auth/Registration.js @@ -67,6 +67,8 @@ module.exports = React.createClass({ let initialPhase = PHASE_SERVER_DETAILS; if ( // if we have these two, skip to the good bit + // (they could come in from the URL params in a + // registration email link) (this.props.clientSecret && this.props.sessionId) || // or if custom URLs aren't allowed, skip them !customURLsAllowed