mirror of
https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git
synced 2024-12-21 11:50:08 +00:00
Ignore letter case in email
This commit is contained in:
parent
830b77e6f7
commit
04a22a1d3d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,2 @@
|
||||
.idea
|
||||
|
||||
.vscode
|
||||
|
@ -658,7 +658,7 @@ class plagiarism_pchkorg_api_provider {
|
||||
global $USER;
|
||||
|
||||
if ($this->is_group_token()) {
|
||||
return $this->token . '::' . hash('sha256', $this->token . $USER->email);
|
||||
return $this->token . '::' . hash('sha256', $this->token . strtolower($USER->email));
|
||||
}
|
||||
|
||||
return $this->token;
|
||||
|
@ -26,9 +26,9 @@ defined('MOODLE_INTERNAL') || die();
|
||||
if (!isset($plugin)) {
|
||||
$plugin = new stdClass();
|
||||
}
|
||||
$plugin->version = 2023062316;
|
||||
$plugin->version = 2023070415;
|
||||
$plugin->requires = 2020061501; // Requires Moodle 3.9 .
|
||||
$plugin->release = 'v3.14.3';
|
||||
$plugin->release = 'v3.14.4';
|
||||
$plugin->component = 'plagiarism_pchkorg';
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
$plugin->dependencies = array(
|
||||
|
Loading…
Reference in New Issue
Block a user