Fix CAS support by using a temporary Matrix client
Signed-off-by: Shell Turner <cam.turn@gmail.com>
This commit is contained in:
parent
14227b5718
commit
1380bf705a
3 changed files with 18 additions and 11 deletions
|
@ -90,6 +90,10 @@ module.exports = React.createClass({
|
|||
}).done();
|
||||
},
|
||||
|
||||
onCasLogin: function() {
|
||||
this._loginLogic.redirectToCas();
|
||||
},
|
||||
|
||||
_onLoginAsGuestClick: function() {
|
||||
var self = this;
|
||||
self.setState({
|
||||
|
@ -225,7 +229,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