public link config is also for non admins

remotes/origin/stable
Robin Appelman 14 years ago
parent 4f6ea7e648
commit c0af177223
  1. 2
      apps/files_publiclink/admin.php

@ -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();
}

Loading…
Cancel
Save