Skip to content

Latest commit

 

History

History
69 lines (43 loc) · 1.22 KB

History.md

File metadata and controls

69 lines (43 loc) · 1.22 KB
1.0.5 / 2015-07-06
  • update dependencies
1.0.4 / 2015-07-03
  • use eslint
  • update dependencies
  • use make instead grunt
1.0.3 / 2014-05-27
  • set autocomplete="off"
  • use Bootstrap conditional classes
  • use utils.destroy to kill session
  • update dependencies
1.0.2 / 2014-05-23
  • update lockit-utils
1.0.1 / 2014-05-23
  • refactor code
  • update dependencies
1.0.0 / 2014-04-19
  • requires Express 4.x

  • makes use of express.Router(). No need to pass app around as argument.

    old

    var DeleteAccount = require('lockit-delete-account');
    
    var deleteAccount = new DeleteAccount(app, config, adapter);

    new

    var DeleteAccount = require('lockit-delete-account');
    
    var deleteAccount = new DeleteAccount(config, adapter);
    app.use(deleteAccount.router);
  • proper Error handling. All Errors are piped to next middleware.

    old

    if (err) console.log(err);

    new

    if (err) return next(err);

    Make sure you have some sort of error handling middleware at the end of your routes (is included by default in Express 4.x apps if you use the express-generator).

0.6.0 / 2014-04-11
  • username becomes name