diff --git a/.gitignore b/.gitignore index c6ef218..706fd07 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ .idea - +.vscode diff --git a/classes/plagiarism_pchkorg_api_provider.php b/classes/plagiarism_pchkorg_api_provider.php index 9cc5149..6ce11c6 100644 --- a/classes/plagiarism_pchkorg_api_provider.php +++ b/classes/plagiarism_pchkorg_api_provider.php @@ -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; diff --git a/version.php b/version.php index 6e1d7f4..c400936 100644 --- a/version.php +++ b/version.php @@ -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(