Skip to content

Commit edf41f9

Browse files
author
Vikas Agarwal
committed
Hiding password input for SSO login
1 parent 04b4707 commit edf41f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

components/RegistrationScreen/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class RegistrationScreen extends Component {
202202
validator={vm.usernameIsFree}
203203
showCheckMark
204204
/>
205-
<PasswordInput
205+
{ !vm.ssoUser && <PasswordInput
206206
wrapperClass={'input-container'}
207207
label="Create a password (8–64 characters, A–Z, 0–9, . _ - ! ? allowed)"
208208
name="password"
@@ -221,6 +221,7 @@ class RegistrationScreen extends Component {
221221
required
222222
showCheckMark
223223
/>
224+
}
224225
<Checkbox
225226
wrapperClass={'input-container'}
226227
label="I agree to receive other communications from Topcoder."

0 commit comments

Comments
 (0)