From 4c83d898bd558ad16cf54325958db21cdb0cf9eb Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Tue, 19 Feb 2019 13:10:10 +0000 Subject: [PATCH] Show link to login even during UI auth This gives users an escape hatch in case something goes wrong with the UI auth step, and they'd like to go somewhere else in the auth process. --- src/components/structures/auth/Registration.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/components/structures/auth/Registration.js b/src/components/structures/auth/Registration.js index 6b578f0f68..03c7645721 100644 --- a/src/components/structures/auth/Registration.js +++ b/src/components/structures/auth/Registration.js @@ -505,14 +505,9 @@ module.exports = React.createClass({ errorText =
{ err }
; } - let signIn; - if (!this.state.doingUIAuth) { - signIn = ( - - { _t('Sign in instead') } - - ); - } + const signIn = + { _t('Sign in instead') } + ; return (