fix notif spam on launch by correctly logging out again. reverts start_login_from_guest stuff

This commit is contained in:
Matthew Hodgson 2016-03-17 02:08:05 +00:00
parent f8fb3a7fe1
commit a6e3b39f16

View File

@ -23,9 +23,10 @@ module.exports = React.createClass({
onRegisterClicked: function() { onRegisterClicked: function() {
dis.dispatch({'action': 'start_upgrade_registration'}); dis.dispatch({'action': 'start_upgrade_registration'});
}, },
onLoginClicked: function() { onLoginClicked: function() {
dis.dispatch({'action': 'start_login_from_guest'}); dis.dispatch({'action': 'logout'});
dis.dispatch({'action': 'start_login'});
}, },
render: function() { render: function() {