aboutsummaryrefslogtreecommitdiff
path: root/actions/login.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/login.php')
-rw-r--r--actions/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/login.php b/actions/login.php
index 769a2e671..4d4f3c098 100644
--- a/actions/login.php
+++ b/actions/login.php
@@ -31,7 +31,7 @@
system_message(elgg_echo('loginok'));
forward("pg/dashboard/");
} else {
- system_message(elgg_echo('loginerror'));
+ register_error(elgg_echo('loginerror'));
}
?> \ No newline at end of file