We.js basic auth plugin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.jscsrc
.jshintignore
.jshintrc
.npmignore
README.md
package.json
plugin.js

README.md

We.js basic auth plugin (we-plugin-basic-auth)

We.js basic auth plugin, usefull for block access to systems in development

Configuration:

Inside one configuration file (/config/):

    // ...
    basicAuth: {
      name: null, // username
      pass: null  // password
    },
    // ...

Set basicAuth config to null or false to disabe this plugin.

Links:

Copyright and license:

Copyright Alberto Souza contato@albertosouza.net and contributors , under the MIT license.