summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-04-07 21:51:10 +0200
committerMorris Jobke <morris.jobke@gmail.com>2013-04-07 21:51:10 +0200
commit38941a61bf105a601200e378409bc2078a070994 (patch)
tree9a509bb03de3960e67db9ef6335f1479fc63d7dc /core
parent5fe5e1e17ed6f99b3a964c71b8ab8846323fe6c4 (diff)
downloadnextcloud-server-38941a61bf105a601200e378409bc2078a070994.tar.gz
nextcloud-server-38941a61bf105a601200e378409bc2078a070994.zip
turn off autocompletion for password field
refs #2632
Diffstat (limited to 'core')
-rw-r--r--core/js/jquery-showpassword.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/jquery-showpassword.js b/core/js/jquery-showpassword.js
index 0f4678327a3..9cdc48efe89 100644
--- a/core/js/jquery-showpassword.js
+++ b/core/js/jquery-showpassword.js
@@ -35,7 +35,8 @@
'style' : $element.attr('style'),
'size' : $element.attr('size'),
'name' : $element.attr('name')+'-clone',
- 'tabindex' : $element.attr('tabindex')
+ 'tabindex' : $element.attr('tabindex'),
+ 'autocomplete' : 'off'
});
return $clone;