Skip to content

Commit

Permalink
Implement can_be_manually_set()
Browse files Browse the repository at this point in the history
This suppresses user upload warnings and allows oidc to be selected as
a default auth method if none are included in the csv.
  • Loading branch information
OxyOCE authored and weilai-irl committed Mar 13, 2024
1 parent 9fd9adf commit 47599b0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 47599b0

Please sign in to comment.