Skip to content

Commit

Permalink
UTCT-21: Turn off auth on public home page.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gilligan <[email protected]>
  • Loading branch information
UTCGilligan committed Dec 11, 2023
1 parent fee31b3 commit b2e98b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

<?php
// Start YOURLS engine
define( 'YOURLS_ADMIN', true );
//define( 'YOURLS_ADMIN', true );//require auth
require_once( dirname(__FILE__).'/includes/load-yourls.php' );
yourls_maybe_require_auth();
//yourls_maybe_require_auth();//require auth

// URL of the public interface
$page = YOURLS_SITE . '/index.php' ;
Expand Down

0 comments on commit b2e98b3

Please sign in to comment.