aboutsummaryrefslogtreecommitdiff
path: root/actions/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/login.php')
-rw-r--r--actions/login.php28
1 files changed, 14 insertions, 14 deletions
diff --git a/actions/login.php b/actions/login.php
index 0063a1f08..b7823514a 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -45,20 +45,20 @@ if ($result) {
}
} else {
register_error(elgg_echo('loginerror'));
-// // let a plugin hook say why login failed or react to it.
-// $params = array(
-// 'username' => $username,
-// 'password' => $password,
-// 'persistent' => $persistent,
-// 'user' => $user
-// );
-//
-// // Returning FALSE to this function will generate a standard
-// // "Could not log you in" message.
-// // Plugins should use this hook to provide details, and then return TRUE.
-// if (!trigger_plugin_hook('failed_login', 'user', $params, FALSE)) {
-// register_error(elgg_echo('loginerror'));
-// }
+ // // let a plugin hook say why login failed or react to it.
+ // $params = array(
+ // 'username' => $username,
+ // 'password' => $password,
+ // 'persistent' => $persistent,
+ // 'user' => $user
+ // );
+ //
+ // // Returning FALSE to this function will generate a standard
+ // // "Could not log you in" message.
+ // // Plugins should use this hook to provide details, and then return TRUE.
+ // if (!trigger_plugin_hook('failed_login', 'user', $params, FALSE)) {
+ // register_error(elgg_echo('loginerror'));
+ // }
}
forward(REFERRER);