File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
Expand file tree Collapse file tree 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> {
3838 isCreatingAccount : false ,
3939 passwordErrorMessage : null ,
4040 onLine : window . navigator . onLine ,
41- usePassword : isDev , // Magic link login doesn't work in dev mode
41+ usePassword : false ,
4242 emailForPasswordForm : null ,
4343 } ;
4444
@@ -357,6 +357,22 @@ export class Auth extends Component<Props> {
357357 ) }
358358 </ button >
359359
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+
360376 { usePassword && (
361377 < Fragment >
362378 < a
You can’t perform that action at this time.
0 commit comments