From 02f5cbdc4da8b1245202bf94146e200a4f6628c3 Mon Sep 17 00:00:00 2001 From: Mario Wenzel Date: Tue, 14 May 2019 10:49:52 +0200 Subject: [PATCH] Allow bruteForceKey to be overwritten (#342) As per Documentation (https://www.adminer.org/en/extension/#api) bruteForceKey can be overwritten by plugins. This change actually allows for that to happen. --- plugins/plugin.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/plugin.php b/plugins/plugin.php index 7e3c8dca..a2f6b780 100644 --- a/plugins/plugin.php +++ b/plugins/plugin.php @@ -110,6 +110,11 @@ class AdminerPlugin extends Adminer { return $this->_applyPlugin(__FUNCTION__, $args); } + function bruteForceKey() { + $args = func_get_args(); + return $this->_applyPlugin(__FUNCTION__, $args); + } + function serverName($server) { $args = func_get_args(); return $this->_applyPlugin(__FUNCTION__, $args);