mirror of
https://github.com/wekan/wekan.git
synced 2026-02-14 20:18:07 +01:00
Final touches
- Removed underscore dependency and replaced it with a native solution - Added ecmascript - Update versions in .meteor
This commit is contained in:
parent
91eb206ed5
commit
eaf2d3fbb3
3 changed files with 4 additions and 4 deletions
|
|
@ -137,7 +137,7 @@ useraccounts:flow-routing-extra@1.1.0
|
|||
useraccounts:unstyled@1.14.2
|
||||
webapp@1.13.8
|
||||
webapp-hashing@1.1.1
|
||||
wekan-accounts-cas@0.1.0
|
||||
wekan-accounts-cas@0.2.0
|
||||
wekan-accounts-lockout@1.1.0
|
||||
wekan-accounts-oidc@1.0.10
|
||||
wekan-accounts-sandstorm@0.8.0
|
||||
|
|
|
|||
|
|
@ -252,7 +252,7 @@ const casValidate = (req, ticket, token, service, callback) => {
|
|||
if (attrs.debug) {
|
||||
console.log(`Creating user account ${JSON.stringify(options)}`);
|
||||
}
|
||||
const userId = Accounts.insertUserDoc({}, options);
|
||||
const userId = await Accounts.insertUserDoc({}, options);
|
||||
user = await Meteor.users.findOneAsync(userId);
|
||||
}
|
||||
if (attrs.debug) {
|
||||
|
|
@ -262,7 +262,7 @@ const casValidate = (req, ticket, token, service, callback) => {
|
|||
});
|
||||
|
||||
const _hasCredential = (credentialToken) => {
|
||||
return _.has(_casCredentialTokens, credentialToken);
|
||||
return Object.prototype.hasOwnProperty.call(_casCredentialTokens, credentialToken);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -6,12 +6,12 @@ Package.describe({
|
|||
});
|
||||
|
||||
Package.onUse(function(api) {
|
||||
api.use('ecmascript');
|
||||
api.use('routepolicy', 'server');
|
||||
api.use('webapp', 'server');
|
||||
api.use('accounts-base', ['client', 'server']);
|
||||
// Export Accounts (etc) to packages using this one.
|
||||
api.imply('accounts-base', ['client', 'server']);
|
||||
api.use('underscore');
|
||||
api.addFiles('cas_client.js', 'web.browser');
|
||||
api.addFiles('cas_client_cordova.js', 'web.cordova');
|
||||
api.addFiles('cas_server.js', 'server');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue