Fixed switch to user.

This commit is contained in:
Martin Edenhofer 2016-05-31 08:30:45 +02:00
parent 4cc68551d9
commit c1d8269145

View file

@ -141,8 +141,8 @@ class App.Auth
App.Event.trigger('auth') App.Event.trigger('auth')
App.Event.trigger('auth:logout') App.Event.trigger('auth:logout')
window.location.href = '#login'
if rerender if rerender
window.location.href = '#login'
App.Event.trigger('ui:rerender') App.Event.trigger('ui:rerender')
App.Event.trigger('clearStore') App.Event.trigger('clearStore')