diff options
Diffstat (limited to 'core/js/sharedialoglinkshareview.js')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index 246b0e45e7b..141f2fa4015 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -598,8 +598,8 @@ var minPasswordLength = 4 // password policy? - if(oc_capabilities.password_policy && oc_capabilities.password_policy.minLength) { - minPasswordLength = oc_capabilities.password_policy.minLength; + if(OC.getCapabilities().password_policy && OC.getCapabilities().password_policy.minLength) { + minPasswordLength = OC.getCapabilities().password_policy.minLength; } var popoverBase = { |