Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Hotfix problem of login loop when login from multiple tabs
  • Loading branch information
StrongBearCeo committed Jun 2, 2015
commit 8c28f2c610fa348f0cd6cf5babafc03149b51530
2 changes: 1 addition & 1 deletion shared/router.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Router.map ->
Session.set('buttonText', 'in')
@next()
onRun: ->
if Meteor.userId()
if Meteor.user()
Router.go AccountsEntry.settings.dashboardRoute

if AccountsEntry.settings.signInTemplate
Expand Down