return a login form on some protoected pages if not logged in.

This commit is contained in:
friendica
2013-11-02 23:56:29 -07:00
parent 8eed3a1006
commit 9158909fa3
3 changed files with 5 additions and 5 deletions

View File

@@ -205,7 +205,7 @@ function message_content(&$a) {
if(! local_user()) {
notice( t('Permission denied.') . EOL);
return;
return login();
}
$channel = $a->get_channel();