summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/js
diff options
context:
space:
mode:
authorAllan Nordhøy <epost@anotheragency.no>2017-07-14 15:32:47 +0200
committerGitHub <noreply@github.com>2017-07-14 15:32:47 +0200
commit4b8c1eaa913ff156ab13be3770281beab35ba999 (patch)
treea923fe44b9e97f2d4f424cb42ba0669bc48014d0 /apps/user_ldap/js
parenta79447c6fdad379a1d254e2e379ac45b6acd0345 (diff)
downloadnextcloud-server-4b8c1eaa913ff156ab13be3770281beab35ba999.tar.gz
nextcloud-server-4b8c1eaa913ff156ab13be3770281beab35ba999.zip
command-line, Consider narrowing
Diffstat (limited to 'apps/user_ldap/js')
-rw-r--r--apps/user_ldap/js/wizard/wizardTabLoginFilter.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/js/wizard/wizardTabLoginFilter.js b/apps/user_ldap/js/wizard/wizardTabLoginFilter.js
index a2537539ede..7cc35aae0aa 100644
--- a/apps/user_ldap/js/wizard/wizardTabLoginFilter.js
+++ b/apps/user_ldap/js/wizard/wizardTabLoginFilter.js
@@ -142,16 +142,16 @@ OCA = OCA || {};
var usersFound = parseInt(result.changes.ldap_test_loginname, 10);
if(usersFound < 1) {
var filter = $('<p>').text(result.changes.ldap_test_effective_filter).html();
- message = t('user_ldap', 'User not found. Please check your login attributes and username. Effective filter (to copy-and-paste for command line validation): <br/>' + filter);
+ message = t('user_ldap', 'User not found. Please check your login attributes and username. Effective filter (to copy-and-paste for command-line validation): <br/>' + filter);
console.warn(filter);
isHtml = true;
} else if(usersFound === 1) {
message = t('user_ldap', 'User found and settings verified.');
} else if(usersFound > 1) {
- message = t('user_ldap', 'Settings verified, but more than one user found. Only the first will be able to login. Consider a more narrow filter.');
+ message = t('user_ldap', 'Consider narrowing your search, as it encompassed many users, only the first one of whom will be able to log in.');
}
} else {
- message = t('user_ldap', 'An unspecified error occurred. Please check the settings and the log.');
+ message = t('user_ldap', 'An unspecified error occurred. Please check log and settings.');
if(!_.isUndefined(result.message) && result.message) {
message = result.message;
}