@@ -71,7 +71,7 @@ public function create( $args, $assoc_args ) {
7171 EE ::log ( 'Reloading global reverse proxy. ' );
7272 $ this ->reload ();
7373
74- EE ::log ( sprintf ( 'Auth successfully updated for `%s` scope. New values added/updated: ' , $ this ->site_data ->site_url ) );
74+ EE ::success ( sprintf ( 'Auth successfully updated for `%s` scope. New values added/updated: ' , $ this ->site_data ->site_url ) );
7575 EE ::log ( 'User: ' . $ user );
7676 EE ::log ( 'Pass: ' . $ pass );
7777 }
@@ -98,7 +98,7 @@ public function delete( $args, $assoc_args ) {
9898 EE ::exec ( sprintf ( 'docker exec %s htpasswd -D /etc/nginx/htpasswd/%s %s ' , EE_PROXY_TYPE , $ this ->site_data ->site_url , $ user ), true , true );
9999 } else {
100100 $ this ->fs ->remove ( EE_CONF_ROOT . '/nginx/htpasswd/ ' . $ file );
101- EE ::log ( sprintf ( 'http auth removed for `%s` scope ' , $ this ->site_data ->site_url ) );
101+ EE ::success ( sprintf ( 'http auth removed for `%s` scope ' , $ this ->site_data ->site_url ) );
102102 }
103103 $ this ->reload ();
104104 }
@@ -213,7 +213,7 @@ private function whitelist_create( $file, $user_ips, $existing_ips ) {
213213 $ file_content .= "allow $ ip; " . PHP_EOL ;
214214 }
215215 $ this ->fs ->dumpFile ( $ file , $ file_content );
216- EE ::log ( sprintf ( 'Created whitelist for `%s` scope with %s IP \'s. ' , $ this ->site_data ->site_url , implode ( ', ' , $ user_ips ) ) );
216+ EE ::success ( sprintf ( 'Created whitelist for `%s` scope with %s IP \'s. ' , $ this ->site_data ->site_url , implode ( ', ' , $ user_ips ) ) );
217217 }
218218
219219 /**
@@ -231,7 +231,7 @@ private function whitelist_append( $file, $user_ips, $existing_ips ) {
231231 $ file_content .= "allow $ individual_ip; " . PHP_EOL ;
232232 }
233233 $ this ->fs ->dumpFile ( $ file , $ file_content );
234- EE ::log ( sprintf ( 'Appended %s IP \'s to whitelist of `%s` scope ' , implode ( ', ' , $ user_ips ), $ this ->site_data ->site_url ) );
234+ EE ::success ( sprintf ( 'Appended %s IP \'s to whitelist of `%s` scope ' , implode ( ', ' , $ user_ips ), $ this ->site_data ->site_url ) );
235235 }
236236
237237 /**
@@ -278,7 +278,7 @@ private function whitelist_remove( $file, $user_ips, $existing_ips ) {
278278 EE ::error ( sprintf ( '%s IP \'s not found in whitelist of `%s` scope ' , implode ( ', ' , $ user_ips ), $ this ->site_data ->site_url ) );
279279 }
280280 EE ::warning ( sprintf ( 'Could not find %s IP \'s from whitelist of `%s` scope ' , implode ( ', ' , $ leftover_ips ), $ this ->site_data ->site_url ) );
281- EE ::log ( sprintf ( 'Removed %s IP \'s from whitelist of `%s` scope ' , implode ( ', ' , $ removed_ips ), $ this ->site_data ->site_url ) );
281+ EE ::success ( sprintf ( 'Removed %s IP \'s from whitelist of `%s` scope ' , implode ( ', ' , $ removed_ips ), $ this ->site_data ->site_url ) );
282282 }
283283
284284 /**
0 commit comments