1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-07 22:45:24 +02:00

cosmetics

This commit is contained in:
Harvey Kandola 2016-07-07 10:34:31 -07:00
parent f397e9406b
commit 51a04efcb6
2 changed files with 5 additions and 5 deletions

View file

@ -20,11 +20,13 @@ const {
export default Ember.Route.extend(ApplicationRouteMixin, {
appMeta: service(),
session: service(),
beforeModel() {
return this.get('appMeta').boot().then(data => {
if (data.allowAnonymousAccess) {
return this.get('session').authenticate('authenticator:anonymous', data);
}
return;
});
},
@ -55,4 +57,4 @@ export default Ember.Route.extend(ApplicationRouteMixin, {
return true;
}
},
});
});

View file

@ -276,7 +276,5 @@ CREATE TABLE IF NOT EXISTS `userconfig` (
`key` CHAR(225) NOT NULL,
`config` JSON,
UNIQUE INDEX `idx_userconfig_orguserkey` (`orgid`, `userid`, `key` ASC) )
DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
-- TODO insert userid into pagemeta table
-- ALTER TABLE `pagemeta` ADD `userid` CHAR(16) NOT NULL COLLATE utf8_bin AFTER `orgid`;
DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
ENGINE = InnoDB;