Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable registration mail sending. Suggestion for solution #136

Closed
janfer opened this issue Apr 14, 2020 · 1 comment
Closed

Disable registration mail sending. Suggestion for solution #136

janfer opened this issue Apr 14, 2020 · 1 comment

Comments

@janfer
Copy link

janfer commented Apr 14, 2020

I wanted to disable mail sending totally since we do not have access to Internet where we run CTF. This is my suggestion for a solution.

--- config.ing.php -----
Config::set('MELLIVORA_CONFIG_EMAIL_NO_MAIL', true);

---- email.inc.php -----
// MOD to skip sending registrations mail first statement in function send_mail()
if (Config::get('MELLIVORA_CONFIG_EMAIL_NO_MAIL')){
return $receivers;
}

@Nakiami Nakiami closed this as completed Apr 18, 2020
@Nakiami
Copy link
Owner

Nakiami commented Apr 18, 2020

Hi, feel free to create a pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants