summaryrefslogtreecommitdiff
path: root/auth.php
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-17 11:05:25 +0300
committerValentin Popov <info@valentineus.link>2017-10-17 11:05:25 +0300
commit758332d63569e033fd417a79ffd046373d77decf (patch)
tree185c083cd228e7f9e23baba6c20154f163bdd820 /auth.php
parent1e95ee0ee8751df8cdfd1770c2b1982bb85676de (diff)
downloadauth_link-758332d63569e033fd417a79ffd046373d77decf.tar.xz
auth_link-758332d63569e033fd417a79ffd046373d77decf.zip
Fix Moodle Code Checker
Diffstat (limited to 'auth.php')
-rw-r--r--auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth.php b/auth.php
index ace1338..d936628 100644
--- a/auth.php
+++ b/auth.php
@@ -134,9 +134,9 @@ class auth_plugin_link extends auth_plugin_base {
$username = htmlspecialchars($_REQUEST['username']);
$password = htmlspecialchars($_REQUEST['password']);
- // User existence check
+ // User existence check.
if ($user = $DB->get_record('user', array( 'username' => $username) )) {
- // Verification of authorization data
+ // Verification of authorization data.
if (validate_internal_user_password($user, $password)) {
complete_user_login($user);
$this->redirect_user();