mirror of https://github.com/vector-im/riot-web
use new start_login_from_guest dispatch for cancellable logins from guest accounts
parent
2a8afd49fb
commit
cb45db36c2
|
@ -25,8 +25,7 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
onLoginClicked: function() {
|
onLoginClicked: function() {
|
||||||
dis.dispatch({'action': 'logout'});
|
dis.dispatch({'action': 'start_login_from_guest'});
|
||||||
dis.dispatch({'action': 'start_login'});
|
|
||||||
},
|
},
|
||||||
|
|
||||||
render: function() {
|
render: function() {
|
||||||
|
|
Loading…
Reference in New Issue