Apply PR feedback
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
370d9d8336
commit
6f736e8407
2 changed files with 8 additions and 6 deletions
|
@ -575,12 +575,14 @@ module.exports = createReactClass({
|
||||||
// If this bug gets fixed, it will break SSO since it will open the SSO page in the
|
// If this bug gets fixed, it will break SSO since it will open the SSO page in the
|
||||||
// user's browser, let them log into their SSO provider, then redirect their browser
|
// user's browser, let them log into their SSO provider, then redirect their browser
|
||||||
// to vector://vector which, of course, will not work.
|
// to vector://vector which, of course, will not work.
|
||||||
return <div>
|
return (
|
||||||
|
<div>
|
||||||
<SignInToText serverConfig={this.props.serverConfig}
|
<SignInToText serverConfig={this.props.serverConfig}
|
||||||
onEditServerDetailsClick={this.onEditServerDetailsClick} />
|
onEditServerDetailsClick={this.onEditServerDetailsClick} />
|
||||||
|
|
||||||
<a href={url} className="mx_Login_sso_link mx_Login_submit">{ _t('Sign in with single sign-on') }</a>
|
<a href={url} className="mx_Login_sso_link mx_Login_submit">{ _t('Sign in with single sign-on') }</a>
|
||||||
</div>;
|
</div>
|
||||||
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
Copyright 2019 New Vector Ltd
|
Copyright 2019 The Matrix.org Foundation C.I.C.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue