add comment

This commit is contained in:
David Baker 2019-02-13 19:06:44 +00:00
parent 5b64543159
commit c3ca2b4d46

View file

@ -67,6 +67,8 @@ module.exports = React.createClass({
let initialPhase = PHASE_SERVER_DETAILS; let initialPhase = PHASE_SERVER_DETAILS;
if ( if (
// if we have these two, skip to the good bit // 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) || (this.props.clientSecret && this.props.sessionId) ||
// or if custom URLs aren't allowed, skip them // or if custom URLs aren't allowed, skip them
!customURLsAllowed !customURLsAllowed