Skip to content

Commit

Permalink
UTCT-46: Fix a bracket and correct plugin name.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gilligan <[email protected]>
  • Loading branch information
UTCGilligan committed Jan 1, 2024
1 parent 5bba162 commit 136b40a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions user/plugins/auth-mgr-plus/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ function amp_require_capability( $capability ) {
$errorpage = file_get_contents('user/plugins/auth-mgr-plus/403-error.html');
yourls_status_header( 403 );
echo $errorpage;
die(); }
die();
}
// Otherwise, render errors in admin interface
yourls_redirect( yourls_admin_url( '?access=denied' ), 302 );
die();
Expand Down Expand Up @@ -504,7 +505,7 @@ function amp_env_check() {

if ( !isset( $amp_allowed_plugin_pages ) ) {
$amp_allowed_plugin_pages = array(
'sleeky-backend'
'sleeky_backend'
);
}

Expand Down

0 comments on commit 136b40a

Please sign in to comment.