Code cleanup
In this PR:
- Globally replaced all instances of the variable
config
which refers todatabaseConfig.js
with variabledbcfg
. This is more consistent and clear now that there is amailcfg
andmailConfig.js
. - Modularized email/link generation subsystem; it is should now be trivial to generate verification links by importing
components/Verify/verifySend.js
. See that file for documentation. - Added email alert when a password is changed.