Merge pull request #459 from VShell/fix-cas

Fix CAS support by using a temporary Matrix client
This commit is contained in:
Matthew Hodgson 2016-09-09 21:19:19 +01:00 committed by GitHub
commit 86da0e0d63
3 changed files with 18 additions and 11 deletions

View file

@ -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) {