mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
user balance part of schema
This commit is contained in:
parent
1892723539
commit
25227abce9
1 changed files with 0 additions and 2 deletions
|
|
@ -30,8 +30,6 @@ get '/', (page, model, next) ->
|
|||
# Set variables which are passed from the controller to the view
|
||||
userObj = user.get()
|
||||
|
||||
#FIXME remove this eventually, part of user schema
|
||||
userObj.balance = userObj.balance || 2
|
||||
# support legacy Everyauth schema (now using derby-auth, Passport)
|
||||
if username = userObj.auth?.local?.username
|
||||
_view.loginName = username
|
||||
|
|
|
|||
Loading…
Reference in a new issue