Skip to content

Commit 2f13416

Browse files
committed
Hot fix problem of login loop on logout
1 parent 1a9d0ef commit 2f13416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/router.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Router.map ->
77
Session.set('buttonText', 'in')
88
@next()
99
onRun: ->
10-
if Meteor.userId()
10+
if Meteor.userId() and Meteor.user()
1111
Router.go AccountsEntry.settings.dashboardRoute
1212

1313
if AccountsEntry.settings.signInTemplate

0 commit comments

Comments
 (0)