mirror of
https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git
synced 2024-12-21 20:00: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
|
.idea
|
||||||
|
.vscode
|
||||||
|
@ -658,7 +658,7 @@ class plagiarism_pchkorg_api_provider {
|
|||||||
global $USER;
|
global $USER;
|
||||||
|
|
||||||
if ($this->is_group_token()) {
|
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;
|
return $this->token;
|
||||||
|
@ -26,9 +26,9 @@ defined('MOODLE_INTERNAL') || die();
|
|||||||
if (!isset($plugin)) {
|
if (!isset($plugin)) {
|
||||||
$plugin = new stdClass();
|
$plugin = new stdClass();
|
||||||
}
|
}
|
||||||
$plugin->version = 2023062316;
|
$plugin->version = 2023070415;
|
||||||
$plugin->requires = 2020061501; // Requires Moodle 3.9 .
|
$plugin->requires = 2020061501; // Requires Moodle 3.9 .
|
||||||
$plugin->release = 'v3.14.3';
|
$plugin->release = 'v3.14.4';
|
||||||
$plugin->component = 'plagiarism_pchkorg';
|
$plugin->component = 'plagiarism_pchkorg';
|
||||||
$plugin->maturity = MATURITY_STABLE;
|
$plugin->maturity = MATURITY_STABLE;
|
||||||
$plugin->dependencies = array(
|
$plugin->dependencies = array(
|
||||||
|
Loading…
Reference in New Issue
Block a user