Change pfSense page title

The very first web page of pfSense you see is login page. The problem is that HTML title of this page is ALWAYS „Login”. If you have, like me, more than one pfSense istances you could have problems with KeePassXC Auto-Type feature.
I don’t know yet why but Auto-Type do not recognize URL and always look at the title of page.
If title is always the same KeePassXC will present all pfSense login entries from its database.

Simple hack is to SSH to pfSense and edit one file:


Change line no: 267 (in 2.3.4-RELEASE-p1).

        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="stylesheet" href="<?=$cssfile?>" />
        <title><?=gettext("Login"); ?></title>
        <script type="text/javascript">
        var events = events || [];

Put some text right after <title> tag:

<title>MYSITE <?=gettext("Login"); ?></title>

Refresh pfSense login page and you will notice the change.