return a login form on some protoected pages if not logged in.
This commit is contained in:
+1
-1
@@ -625,7 +625,7 @@ function settings_content(&$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
notice( t('Permission denied.') . EOL );
|
||||
return;
|
||||
return login();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user