mirror of
https://github.com/PlagiarismCheck/moodle-plagiarism_pchkorg.git
synced 2024-12-22 04:10:07 +00:00
Add case insensitive for user email
This commit is contained in:
parent
28a2132625
commit
e198855544
@ -455,7 +455,7 @@ class plagiarism_pchkorg_api_provider {
|
||||
*/
|
||||
public function user_email_to_hash($email) {
|
||||
// We don't send raw user email to the service.
|
||||
return hash('sha256', $this->token . $email);
|
||||
return hash('sha256', $this->token . strtolower($email));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -26,9 +26,9 @@ defined('MOODLE_INTERNAL') || die();
|
||||
if (!isset($plugin)) {
|
||||
$plugin = new stdClass();
|
||||
}
|
||||
$plugin->version = 2022103115;
|
||||
$plugin->version = 2022110417;
|
||||
$plugin->requires = 2020061501; // Requires Moodle 3.9 .
|
||||
$plugin->release = 'v3.12.3';
|
||||
$plugin->release = 'v3.12.4';
|
||||
$plugin->component = 'plagiarism_pchkorg';
|
||||
$plugin->maturity = MATURITY_STABLE;
|
||||
$plugin->dependencies = array(
|
||||
|
Loading…
Reference in New Issue
Block a user