Skip to content
Snippets Groups Projects
Commit 5eee69ad authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Improve last commit

parent 12d05696
No related branches found
No related tags found
No related merge requests found
......@@ -136,7 +136,7 @@ Accounts.registerLoginHandler("ldap", function(loginRequest) {
} else if (RocketChat.settings.get('LDAP_Default_Domain') !== '') {
userObject.email = username + '@' + RocketChat.settings.get('LDAP_Default_Domain');
} else {
const error = new Meteor.Error("LDAP-login-error", "LDAP Authentication succeded, there is no email to create an account.");
const error = new Meteor.Error("LDAP-login-error", "LDAP Authentication succeded, there is no email to create an account. Have you tried setting your Default Domain in LDAP Settings?");
logger.error(error);
throw error;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment