summaryrefslogtreecommitdiffstats
path: root/core/js/sharetemplates.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-11-01 14:55:32 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-01 21:33:11 +0100
commit0a70544cd93c02e0ec5c2571400b5d00ed97c456 (patch)
tree6c26e4bdfab66f35dc555f426c7f665225deeedb /core/js/sharetemplates.js
parent9dea41f8fee933f496a452efc10bcbac9d3b2df5 (diff)
downloadnextcloud-server-0a70544cd93c02e0ec5c2571400b5d00ed97c456.tar.gz
nextcloud-server-0a70544cd93c02e0ec5c2571400b5d00ed97c456.zip
Password policy fix and menu open on first share
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js/sharetemplates.js')
-rw-r--r--core/js/sharetemplates.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/js/sharetemplates.js b/core/js/sharetemplates.js
index 37ca7784020..bd9886e6afd 100644
--- a/core/js/sharetemplates.js
+++ b/core/js/sharetemplates.js
@@ -250,7 +250,9 @@ templates['sharedialoglinkshareview_popover_menu_pending'] = template({"1":funct
+ alias4(((helper = (helper = helpers.enforcedPasswordLabel || (depth0 != null ? depth0.enforcedPasswordLabel : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"enforcedPasswordLabel","hash":{},"data":data}) : helper)))
+ "</p>\n </span>\n </li>\n <li class=\"linkPassMenu\">\n <span class=\"menuitem\">\n <form autocomplete=\"off\" class=\"enforcedPassForm\">\n <input id=\"enforcedPassText\" required class=\"enforcedPassText\" type=\"password\"\n placeholder=\""
+ alias4(((helper = (helper = helpers.passwordPlaceholder || (depth0 != null ? depth0.passwordPlaceholder : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"passwordPlaceholder","hash":{},"data":data}) : helper)))
- + "\" autocomplete=\"new-password\" minlength=\"4\" />\n <input type=\"submit\" value=\" \" class=\"primary icon-checkmark-white\">\n </form>\n </span>\n </li>\n";
+ + "\" autocomplete=\"enforcedPassText\" minlength=\""
+ + alias4(((helper = (helper = helpers.minPasswordLength || (depth0 != null ? depth0.minPasswordLength : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"minPasswordLength","hash":{},"data":data}) : helper)))
+ + "\" />\n <input type=\"submit\" value=\" \" class=\"primary icon-checkmark-white\">\n </form>\n </span>\n </li>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1;