From 219fb1a855f69c57fd03334c6445f0e6eda95b6b Mon Sep 17 00:00:00 2001
From: Roeland Jago Douma <roeland@famdouma.nl>
Date: Mon, 18 Mar 2019 14:38:44 +0100
Subject: [PATCH] Fix showpassword loads

This is bundled by default. So trying to load it throws a warning in the
logs.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
---
 apps/user_ldap/templates/renewpassword.php        | 3 ---
 core/templates/installation.php                   | 1 -
 settings/templates/settings/personal/security.php | 1 -
 3 files changed, 5 deletions(-)

diff --git a/apps/user_ldap/templates/renewpassword.php b/apps/user_ldap/templates/renewpassword.php
index 457d4dcfc47..952cc915f4b 100644
--- a/apps/user_ldap/templates/renewpassword.php
+++ b/apps/user_ldap/templates/renewpassword.php
@@ -1,8 +1,5 @@
 <?php /** @var $l OC_L10N */ ?>
 <?php
-script('core', [
-	'jquery-showpassword',
-]);
 script('user_ldap', [
 	'renewPassword',
 ]);
diff --git a/core/templates/installation.php b/core/templates/installation.php
index 7203f3c9e79..de9427a74d8 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -1,6 +1,5 @@
 <?php
 script('core', [
-	'jquery-showpassword',
 	'installation'
 ]);
 ?>
diff --git a/settings/templates/settings/personal/security.php b/settings/templates/settings/personal/security.php
index ee6c7ce0ace..b7983b7c5d9 100644
--- a/settings/templates/settings/personal/security.php
+++ b/settings/templates/settings/personal/security.php
@@ -28,7 +28,6 @@ script('settings', [
 
 if($_['passwordChangeSupported']) {
 	script('settings', 'security_password');
-	script('jquery-showpassword');
 }
 
 ?>
-- 
GitLab