aboutsummaryrefslogtreecommitdiffstats
path: root/mod/settings.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-02 23:56:29 -0700
committerfriendica <info@friendica.com>2013-11-02 23:56:29 -0700
commit9158909fa3e938d04ebf06d2c2dba9417b36ffa6 (patch)
tree146c2f621f8b9e5227cf3c0a58d7fefd0f7ad694 /mod/settings.php
parent8eed3a10062818dd30f339139074be8e721546d5 (diff)
downloadvolse-hubzilla-9158909fa3e938d04ebf06d2c2dba9417b36ffa6.tar.gz
volse-hubzilla-9158909fa3e938d04ebf06d2c2dba9417b36ffa6.tar.bz2
volse-hubzilla-9158909fa3e938d04ebf06d2c2dba9417b36ffa6.zip
return a login form on some protoected pages if not logged in.
Diffstat (limited to 'mod/settings.php')
-rw-r--r--mod/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index ab3ac4f12..4e122607b 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -625,7 +625,7 @@ function settings_content(&$a) {
if(! local_user()) {
notice( t('Permission denied.') . EOL );
- return;
+ return login();
}