mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 06:37:23 +01:00
Make env vars more palatable for containerization (#10895)
* refactor(env-vars): remove object/colon syntax * fix(tests): correct config expectations
This commit is contained in:
@@ -3,7 +3,7 @@ import shortid from 'short-uuid';
|
||||
|
||||
import { NotAuthorized } from '../errors';
|
||||
|
||||
const COMMUNITY_MANAGER_EMAIL = nconf.get('EMAILS:COMMUNITY_MANAGER_EMAIL');
|
||||
const COMMUNITY_MANAGER_EMAIL = nconf.get('EMAILS_COMMUNITY_MANAGER_EMAIL');
|
||||
const translator = shortid('0123456789abcdefghijklmnopqrstuvwxyz');
|
||||
|
||||
function generateUsername () {
|
||||
|
||||
Reference in New Issue
Block a user