mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-17 09:22:19 +00:00
remove set _loggedIn , handled by derby-auth
This commit is contained in:
parent
fe36d42766
commit
c828593cac
1 changed files with 0 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ get '/:uid?', (page, model, {uid}, next) ->
|
|||
return page.redirect 'https://' + req.headers.host + req.url
|
||||
|
||||
sess = model.session
|
||||
model.set('_loggedIn', true) if sess.loggedIn
|
||||
model.set '_userId', sess.userId
|
||||
model.subscribe "users.#{sess.userId}", (err, user) ->
|
||||
# Set variables which are passed from the controller to the view
|
||||
|
|
|
|||
Loading…
Reference in a new issue