diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php
index f3e0984685..2595e48fb5 100644
--- a/phpBB/includes/ucp/ucp_profile.php
+++ b/phpBB/includes/ucp/ucp_profile.php
@@ -635,7 +635,8 @@ class ucp_profile
$db->sql_query($sql);
- $message = $user->lang['AUTOLOGIN_SESSIONS_KEYS_DELETED'] . '
' . sprintf($user->lang['RETURN_UCP'], '', '');
+ meta_refresh(3, $this->u_action);
+ $message = $user->lang['AUTOLOGIN_SESSION_KEYS_DELETED'] . '
' . sprintf($user->lang['RETURN_UCP'], '', '');
trigger_error($message);
}
}