Skip to content

Commit 50d18ac

Browse files
committed
Merge pull request element-hq#1165 from vector-im/matthew/cancellable-upgrade
use new start_login_from_guest dispatch for cancellable logins from guest accounts
2 parents 1e0c4d8 + cb45db3 commit 50d18ac

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/components/views/globals/GuestWarningBar.js‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ module.exports = React.createClass({
2525
},
2626

2727
onLoginClicked: function() {
28-
dis.dispatch({'action': 'logout'});
29-
dis.dispatch({'action': 'start_login'});
28+
dis.dispatch({'action': 'start_login_from_guest'});
3029
},
3130

3231
render: function() {

0 commit comments

Comments
 (0)