Skip to content

Commit

Permalink
locking email change by default
Browse files Browse the repository at this point in the history
  • Loading branch information
adl-trey committed Jan 10, 2024
1 parent a15d0de commit f8a5db0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ class auth_plugin_jwt extends auth_plugin_base {
public function __construct() {
$this->authtype = 'jwt';
$this->config = get_config('auth_jwt');

$this->config->field_lock_email = "locked";
}

/**
Expand Down

0 comments on commit f8a5db0

Please sign in to comment.