]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - plugins/php_mailer/php_mailer.php
Give the default SQL user permission to manage users
[irc/unrealircd/unrealircd-webpanel.git] / plugins / php_mailer / php_mailer.php
index 759d0f2733ac7d4c693d01cd0f3c8b55f6995647..f8a0d7fb954a96a86b2f3d882424bf9b87c2de23 100644 (file)
@@ -57,7 +57,8 @@ class php_mailer
                self::send_mail(
                        ["email" => EMAIL_SETTINGS['username'], "name" => EMAIL_SETTINGS['from_name']],
                        "New login to Unreal Admin Panel",
-                       "There was a new login to the admin panel.<br>User: \"$user->username\"<br>IP: \"".$_SERVER['REMOTE_ADDR']."\""
+                       "There was a new login to the admin panel.<br>User: \"$user->username\"<br>IP: \"".$_SERVER['REMOTE_ADDR']."\" (".$_SERVER['HTTP_CF_IPCOUNTRY'].")<br>".
+                       "User Agent: ".$_SERVER['HTTP_USER_AGENT']
                );
 
                if ($user->email)