edit person page. remove invoicedItems on logout

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-11-25 12:17:41 +03:00
committed by Daniel Hutzel
parent 58af1879f7
commit fe0562f38b
6 changed files with 56 additions and 62 deletions

View File

@@ -4,7 +4,7 @@ const bcrypt = require("bcryptjs");
const { ACCESS_TOKEN_SECRET, REFRESH_TOKEN_SECRET } = cds.env;
const ACCESS_TOKEN_EXP_IN = "10s";
const REFRESH_TOKEN_EXPIRES_IN = "16s";
const REFRESH_TOKEN_EXPIRES_IN = "30s";
const comparePasswords = async (password, hashedPassword) => {
return new Promise((resolve, reject) =>