Skip to content
Snippets Groups Projects
Commit c0af1772 authored by Robin Appelman's avatar Robin Appelman
Browse files

public link config is also for non admins

parent 4f6ea7e6
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ require( 'template.php' );
// Check if we are a user
if( !OC_USER::isLoggedIn() || !OC_GROUP::inGroup( $_SESSION['user_id'], 'admin' )){
if( !OC_USER::isLoggedIn()){
header( "Location: ".OC_HELPER::linkTo( "index.php" ));
exit();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment