Added support for relative date ranges in segments
This commit is contained in:
parent
9bd6db2624
commit
a229f80e22
11 changed files with 169 additions and 14 deletions
|
@ -87,8 +87,10 @@ module.exports.authenticate = (username, password, callback) => {
|
|||
if (!result) {
|
||||
return callback(null, false);
|
||||
}
|
||||
|
||||
let user = tools.convertKeys(rows[0]);
|
||||
return callback(null, {
|
||||
id: rows[0].id,
|
||||
id: user.id,
|
||||
username
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue