Skip to content

Commit a6e3b39

Browse files
committed
fix notif spam on launch by correctly logging out again. reverts start_login_from_guest stuff
1 parent f8fb3a7 commit a6e3b39

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ module.exports = React.createClass({
2323
onRegisterClicked: function() {
2424
dis.dispatch({'action': 'start_upgrade_registration'});
2525
},
26-
26+
2727
onLoginClicked: function() {
28-
dis.dispatch({'action': 'start_login_from_guest'});
28+
dis.dispatch({'action': 'logout'});
29+
dis.dispatch({'action': 'start_login'});
2930
},
3031

3132
render: function() {

0 commit comments

Comments
 (0)