Nakiami / mellivora

Mellivora is a CTF engine written in PHP
GNU General Public License v3.0
440 stars 171 forks source link

Adding mail server enabled option for avoiding errors if not configured. #114

Open junquera opened 5 years ago

junquera commented 5 years ago

I've added a new parameter to the configuration in order to control email capabilities:

Config::set('MELLIVORA_CONFIG_EMAIL_MAILSERVER_ENABLED', true);

Its mainly for avoid the error when a user creates an account and there is no mail server configured, but also for other parts of the project where tries to send an email.