aboutsummaryrefslogtreecommitdiff
path: root/pages/account
diff options
context:
space:
mode:
Diffstat (limited to 'pages/account')
-rw-r--r--pages/account/forgotten_password.php2
-rw-r--r--pages/account/register.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/account/forgotten_password.php b/pages/account/forgotten_password.php
index 8ec7b6cbd..93d786e22 100644
--- a/pages/account/forgotten_password.php
+++ b/pages/account/forgotten_password.php
@@ -8,7 +8,7 @@
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
-if (isloggedin()) {
+if (elgg_is_logged_in()) {
forward();
}
diff --git a/pages/account/register.php b/pages/account/register.php
index 680a9f240..58544ef49 100644
--- a/pages/account/register.php
+++ b/pages/account/register.php
@@ -22,7 +22,7 @@ $friend_guid = (int) get_input('friend_guid', 0);
$invitecode = get_input('invitecode');
// only logged out people need to register
-if (isloggedin()) {
+if (elgg_is_logged_in()) {
forward();
}