@ -353,6 +371,13 @@ class InteractionModal extends React.PureComponent {
<p>{actionDescription}<strong><FormattedMessageid='interaction_modal.sign_in'defaultMessage='You are not logged in to this server. Where is your account hosted?'/></strong></p>
<h3><FormattedMessageid='interaction_modal.on_this_server'defaultMessage='On this server'/></h3>
{signUpOrSignInButton}
</div>
</div>
<IntlLoginFormresourceUrl={url}/>
<pclassName='hint'><FormattedMessageid='interaction_modal.sign_in_hint'defaultMessage="Tip: That's the website where you signed up. If you don't remember, look for the welcome e-mail in your inbox. You can also enter your full username! (e.g. @Mastodon@mastodon.social)"/></p>
@ -74,6 +74,12 @@ class Header extends PureComponent {
</>
);
}else{
if(sso_redirect){
content=(
<ahref={sso_redirect}data-method='post'className='button button--block button-tertiary'><FormattedMessageid='sign_in_banner.sso_redirect'defaultMessage='Login or Register'/></a>
)
}else{
letsignupButton;
if(registrationsOpen){
@ -97,6 +103,7 @@ class Header extends PureComponent {
<p><FormattedMessageid='sign_in_banner.text'defaultMessage='Login to follow profiles or hashtags, favorite, share and reply to posts. You can also interact from your account on a different server.'/></p>
<ahref={sso_redirect}data-method='post'className='button button--block button-tertiary'><FormattedMessageid='sign_in_banner.sso_redirect'defaultMessage='Login or Register'/></a>