mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
start upgrading eslint
This commit is contained in:
@@ -9,7 +9,7 @@ const SESSION_SECRET_KEY = nconf.get('SESSION_SECRET_KEY');
|
||||
const SESSION_SECRET_IV = nconf.get('SESSION_SECRET_IV');
|
||||
|
||||
const key = Buffer.from(SESSION_SECRET_KEY, 'hex');
|
||||
const iv = Buffer.from(SESSION_SECRET_IV, 'hex');
|
||||
const iv = Buffer.from(SESSION_SECRET_IV, 'hex');
|
||||
|
||||
export function encrypt (text) {
|
||||
const cipher = createCipheriv(algorithm, key, iv);
|
||||
|
||||
Reference in New Issue
Block a user