always use generateUniqueUserId. fixes #74

This commit is contained in:
Kevin Jahns 2017-07-05 11:40:19 +02:00
parent 85e488bbe6
commit 7e4dedab38

View File

@ -63,7 +63,7 @@ export default function extendConnector (Y/* :any */) {
this.protocolVersion = 11
this.authInfo = opts.auth || null
this.checkAuth = opts.checkAuth || function () { return Promise.resolve('write') } // default is everyone has write access
if (opts.generateUserId === true) {
if (opts.generateUserId !== false) {
this.setUserId(Y.utils.generateGuid())
}
}