File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export class Auth extends Component<Props> {
38
38
isCreatingAccount : false ,
39
39
passwordErrorMessage : null ,
40
40
onLine : window . navigator . onLine ,
41
- usePassword : isDev , // Magic link login doesn't work in dev mode
41
+ usePassword : false ,
42
42
emailForPasswordForm : null ,
43
43
} ;
44
44
@@ -357,6 +357,22 @@ export class Auth extends Component<Props> {
357
357
) }
358
358
</ button >
359
359
360
+ { ! isCreatingAccount && ! usePassword && (
361
+ < Fragment >
362
+ < div className = "terms" >
363
+ We’ll email you a code to log in, or you can
364
+ < a
365
+ href = "#"
366
+ rel = "noopener noreferrer"
367
+ onClick = { this . togglePassword }
368
+ >
369
+ log in manually
370
+ </ a >
371
+ .
372
+ </ div >
373
+ </ Fragment >
374
+ ) }
375
+
360
376
{ usePassword && (
361
377
< Fragment >
362
378
< a
You can’t perform that action at this time.
0 commit comments