镜像来自
https://github.com/nextcloud/server.git
synced 2024-07-28 20:16:02 +02:00
escape filter for output
This commit is contained in:
父節點
3abc72dad8
當前提交
ca9426308d
@ -140,7 +140,7 @@ OCA = OCA || {};
|
||||
if(result.status === 'success') {
|
||||
var usersFound = parseInt(result.changes.ldap_test_loginname, 10);
|
||||
if(usersFound < 1) {
|
||||
var filter = result.changes.ldap_test_effective_filter;
|
||||
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);
|
||||
console.warn(filter);
|
||||
isHtml = true;
|
||||
|
Loading…
Reference in New Issue
Block a user