diff options
author | Valentin Popov <info@valentineus.link> | 2017-10-17 11:05:25 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2017-10-17 11:05:25 +0300 |
commit | 758332d63569e033fd417a79ffd046373d77decf (patch) | |
tree | 185c083cd228e7f9e23baba6c20154f163bdd820 /auth.php | |
parent | 1e95ee0ee8751df8cdfd1770c2b1982bb85676de (diff) | |
download | auth_link-758332d63569e033fd417a79ffd046373d77decf.tar.xz auth_link-758332d63569e033fd417a79ffd046373d77decf.zip |
Fix Moodle Code Checker
Diffstat (limited to 'auth.php')
-rw-r--r-- | auth.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(); |