summaryrefslogtreecommitdiffstats
path: root/sandstorm.js
diff options
context:
space:
mode:
authorDrew Fisher <drew@sandstorm.io>2016-07-11 15:21:19 -0700
committerDavid Renshaw <david@sandstorm.io>2016-11-03 23:42:00 -0400
commit0f62fe0c6e5a151be0aa7baf60405ef2e878a0d8 (patch)
tree4c2b32e7825bfd5d44dedce4d80c9b2573dcb4af /sandstorm.js
parent87ce042c63b403780bcd5c5a50967925d433a1a1 (diff)
downloadwekan-0f62fe0c6e5a151be0aa7baf60405ef2e878a0d8.tar.gz
wekan-0f62fe0c6e5a151be0aa7baf60405ef2e878a0d8.tar.bz2
wekan-0f62fe0c6e5a151be0aa7baf60405ef2e878a0d8.zip
Fix login on Sandstorm by not creating welcome boards
This one is a pretty strange chain of events: * fetching /.sandstorm-login via accounts-sandstorm's rendezvous protocol causes a user to be created in the users collection * models/users.js has hooks to create a board and lists when a user is created * models/activities.js has a hook to create activity entries when a list is created * this hook does not handle not having no boardId, which results in attempting to run the hook with boardId: 'false'. 'false' does not have a title attribute, which causes the whole method call to throw an exception. * This makes the initial login fail. While there may be other bugs, the simple fix is to not create the board and lists when running under Sandstorm, where you only have one board anyway.
Diffstat (limited to 'sandstorm.js')
0 files changed, 0 insertions, 0 deletions