From a6e3b39f167f1434ad217ddeaed6c61ae74ad290 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 17 Mar 2016 02:08:05 +0000 Subject: [PATCH] fix notif spam on launch by correctly logging out again. reverts start_login_from_guest stuff --- src/components/views/globals/GuestWarningBar.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/views/globals/GuestWarningBar.js b/src/components/views/globals/GuestWarningBar.js index c0ae2f0c6..dcd92806f 100644 --- a/src/components/views/globals/GuestWarningBar.js +++ b/src/components/views/globals/GuestWarningBar.js @@ -23,9 +23,10 @@ module.exports = React.createClass({ onRegisterClicked: function() { dis.dispatch({'action': 'start_upgrade_registration'}); }, - + onLoginClicked: function() { - dis.dispatch({'action': 'start_login_from_guest'}); + dis.dispatch({'action': 'logout'}); + dis.dispatch({'action': 'start_login'}); }, render: function() {