1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-11 20:22:36 +03:00

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;
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