Geovanny Ribeiro

Results comments of Geovanny Ribeiro

@xabbuh Maybe I can make a PR for this, but I´m not a PHP expert so where would be the best location for the contains operator? =)

Added Brazilian Portuguese translation: https://github.com/adambard/learnxinyminutes-site/pull/14

I´ve already made a PR for this and it´s already merged. Please, close the issue! =)

@zoffixznet Please, keep up the good work since Perl seems like hieroglyphs to me =D

@gmsecrieru Could you please give some example on this requirement? Maybe I could work on this! Thankx =)

@gmsecrieru I was just taking a look at the code and it seems I need manipulate: 1) RocketChat.settings => adding valid domains range; 2) accounts.coffee => should implement and call...

@gmsecrieru So on Rocket.Chat/server/lib/accounts.coffee we would use: Accounts.config({ restrictCreationByEmailDomain: function(email) { var domain = email.slice(email.lastIndexOf("@")+1); // or regex var allowed = ["gmail.com", "outlook.com"]; return _.contains(allowed, domain); }, ... }); Am...

@gmsecrieru What do you think? Is there a domain whitelist? =)