1
0
mirror of https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git synced 2024-06-19 09:30:57 +00:00

Ignore letter case in email

This commit is contained in:
Jane Adelmann 2023-07-04 15:31:09 +03:00
parent 830b77e6f7
commit 04a22a1d3d
No known key found for this signature in database
GPG Key ID: 4CCF39DF30B8AF72
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
.idea
.vscode

View File

@ -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;

View File

@ -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(