ohif-viewer/Packages/active-entry/package.js
Aysel Afsar eb32e1771f LT-97: Add requireRegexValidation and requireStrongPasswords properties under passwordOptions which is under passwordOptions.
- requireRegexValidation toggles whether or not password validation is controlled by regular expression
- requireStrongPasswords toggles whether password validation is controlled by zxcvbn package
LT-104: User account shall be locked after 5 failed attempts
- "failedAttemptsLimit" property which is under passwordOptions in ActiveEntry configuration object sets number of failed attempts count to lock user account, it is set 5 as default
LT-99: Passwords shall use password history of 6
- "passwordHistoryCount" property which is under passwordOptions in ActiveEntry configuration object sets count of last passwords that is not used to reset password
- Show error messages in changePassword template
- Make signIn button disabled if inputs are not validated
2016-02-14 17:03:00 -05:00

87 lines
2.0 KiB
JavaScript
Executable File

Package.describe({
name: 'clinical:active-entry',
version: '1.5.16',
summary: 'SignIn, SignUp, and ForgotPassword pages for Clinical Framework.',
git: 'https://github.com/clinical-meteor/clinical-active-entry',
documentation: 'README.md'
});
Package.onUse(function (api) {
api.versionsFrom('1.1.0.3');
api.use([
'meteor-platform',
'templating',
'clinical:router@2.0.17',
'grove:less@0.1.1',
'session',
'reactive-dict',
//'codetheweb:zxcvbn'
], ['client']);
api.use([
'accounts-base',
'accounts-password'
]);
api.use([
'zuuk:stale-session@1.0.8'
], ['client', 'server']);
api.addFiles([
'lib/ActiveEntry.js',
'lib/Accounts.js'
]);
api.addFiles([
'lib/jquery.pwstrength.bootstrap.js',
'lib/checkPasswordStrength.js',
'lib/hashCodeGenerator.js'
], ['client']);
api.imply('accounts-base');
api.imply('accounts-password');
api.addFiles([
'components/entryPages.js',
'components/entryPages.less',
'components/entrySignIn/entrySignIn.html',
'components/entrySignIn/entrySignIn.js',
'components/entrySignIn/entrySignIn.less',
'components/entrySignUp/entrySignUp.html',
'components/entrySignUp/entrySignUp.js',
'components/entrySignUp/entrySignUp.less',
'components/forgotPassword/forgotPassword.html',
'components/forgotPassword/forgotPassword.js',
'components/forgotPassword/forgotPassword.less',
'components/changePassword/changePassword.html',
'components/changePassword/changePassword.js',
'components/changePassword/changePassword.less',
], ['client']);
api.addFiles('server/methods.js', "server", {testOnly: true});
api.export("ActiveEntry");
});
Package.onTest(function (api) {
api.use([
'templating',
'clinical:router@2.0.13',
'grove:less@0.1.1',
'standard-app-packages'
], ['client']);
api.use('tinytest');
api.use('clinical:active-entry');
api.use('clinical:verification');
api.addFiles('tests/gagarin/activeEntryTests.js');
});