From 47599b074f5573141cd935227e8d39053de0dd39 Mon Sep 17 00:00:00 2001 From: Harry Smith <38967972+OxyOCE@users.noreply.github.com> Date: Wed, 7 Feb 2024 10:10:01 +1300 Subject: [PATCH] Implement can_be_manually_set() This suppresses user upload warnings and allows oidc to be selected as a default auth method if none are included in the csv. --- auth.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/auth.php b/auth.php index 7dd8fd5..2c9f107 100644 --- a/auth.php +++ b/auth.php @@ -73,6 +73,15 @@ public function __construct($forceloginflow = null) { $this->config = $this->loginflow->config; } + /** + * Returns true if plugin can be manually set. + * + * @return bool + */ + function can_be_manually_set() { + return true; + } + /** * Returns a list of potential IdPs that this authentication plugin supports. Used to provide links on the login page. *