Merge pull request #459 from VShell/fix-cas
Fix CAS support by using a temporary Matrix client
This commit is contained in:
commit
86da0e0d63
3 changed files with 18 additions and 11 deletions
|
@ -92,6 +92,10 @@ module.exports = React.createClass({
|
|||
}).done();
|
||||
},
|
||||
|
||||
onCasLogin: function() {
|
||||
this._loginLogic.redirectToCas();
|
||||
},
|
||||
|
||||
_onLoginAsGuestClick: function() {
|
||||
var self = this;
|
||||
self.setState({
|
||||
|
@ -228,7 +232,7 @@ module.exports = React.createClass({
|
|||
);
|
||||
case 'm.login.cas':
|
||||
return (
|
||||
<CasLogin />
|
||||
<CasLogin onSubmit={this.onCasLogin} />
|
||||
);
|
||||
default:
|
||||
if (!step) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue