Compare commits

...

5 Commits

Author SHA1 Message Date
3wc d5c4641074 Add oauth2_CallbackPort 2022-11-22 19:28:45 -08:00
Paul Rodwell f04c99a73d
0.6.1 2022-11-08 12:14:01 +00:00
Paul Rodwell 752ba44f1d
update package lock 2022-11-08 12:13:42 +00:00
Paul Rodwell 6b735ae712
0.6.0 2022-07-26 11:20:45 +01:00
Paul Rodwell b1da9175b4
remove grunt-retire 2022-07-25 18:17:57 +01:00
4 changed files with 120 additions and 2386 deletions

View File

@ -2,7 +2,6 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-git-authors');
grunt.loadNpmTasks('grunt-retire');
grunt.initConfig({
@ -24,16 +23,10 @@ module.exports = function (grunt) {
files: ['client/*.coffee'],
tasks: ['build']
}
},
retire: {
node: ['.'],
options: {packageOnly: true}
}
});
grunt.registerTask('check', ['retire']);
grunt.registerTask('build', ['browserify']);
grunt.registerTask('default', ['build']);

2492
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "wiki-security-passportjs",
"version": "0.5.0",
"version": "0.6.1",
"description": "Security plugin for Federated Wiki, using passport.js",
"author": "Paul Rodwell <paul.rodwell@btinternet.com> (http://rodwell.me)",
"license": "MIT",
@ -22,8 +22,7 @@
"grunt": "^1.2.1",
"grunt-browserify": "^6.0.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-git-authors": "^3.2.0",
"grunt-retire": "^1.0.8"
"grunt-git-authors": "^3.2.0"
},
"repository": {
"type": "git",

View File

@ -53,6 +53,8 @@ module.exports = exports = (log, loga, argv) ->
callbackHost = callbackHost + ":" + url.parse(argv.url).port
else
callbackHost = url.parse(argv.url).host
if argv.oauth2_CallbackPort?
callbackHost = callbackHost + ":" + argv.oauth2_CallbackPort
ids = []