mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
feat: fix issues in invite user.
feat: fix update last login at after login.
This commit is contained in:
@@ -36,8 +36,6 @@ export default ({ app }) => {
|
||||
|
||||
// catch 404 and forward to error handler
|
||||
app.use((req, res, next) => {
|
||||
const err = new Error('Not Found');
|
||||
err['status'] = 404;
|
||||
next(err);
|
||||
return res.boom.notFound();
|
||||
})
|
||||
};
|
||||
Reference in New Issue
Block a user