Fix auth black screen bug

This commit is contained in:
Tanner Collin 2021-10-08 05:02:00 +00:00
parent 0b25fa173b
commit ee8dd8897e

View File

@ -109,10 +109,10 @@ export function AuthWiki(props) {
<AuthForm user={user}> <AuthForm user={user}>
<Header size='small'>Success!</Header> <Header size='small'>Success!</Header>
<p>You can now log into the Wiki:</p> <p>You can now log into the Wiki:</p>
<p> {user && <p>
Username: {user.username}<br/> Username: {user.username}<br/>
Password: [this Spaceport password] Password: [this Spaceport password]
</p> </p>}
<p><a href='https://wiki.protospace.ca/index.php?title=Special:UserLogin&returnto=Welcome+to+Protospace' rel='noopener noreferrer'>Protospace Wiki</a></p> <p><a href='https://wiki.protospace.ca/index.php?title=Special:UserLogin&returnto=Welcome+to+Protospace' rel='noopener noreferrer'>Protospace Wiki</a></p>
</AuthForm> </AuthForm>
</Segment> </Segment>
@ -136,10 +136,10 @@ export function AuthDiscourse(props) {
<AuthForm user={user}> <AuthForm user={user}>
<Header size='small'>Success!</Header> <Header size='small'>Success!</Header>
<p>You can now log into the Discourse:</p> <p>You can now log into the Discourse:</p>
<p> {user && <p>
Username: {user.member.discourse_username || user.username}<br/> Username: {user.member.discourse_username || user.username}<br/>
Password: [this Spaceport password] Password: [this Spaceport password]
</p> </p>}
<p><a href='https://forum.protospace.ca' rel='noopener noreferrer'>Protospace Discourse</a></p> <p><a href='https://forum.protospace.ca' rel='noopener noreferrer'>Protospace Discourse</a></p>
</AuthForm> </AuthForm>
</Segment> </Segment>