Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Enhancement: Proper HTTP return code

    Scheduled Pinned Locked Moved Development
    2 Posts 1 Posters 456 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • hydrianH
      hydrian
      last edited by

      I'm currently creating a backup script for PFSense. I'm trying to detect when invalid login credentials are provided. Right now the response page returns with a HTTP error code 200 with only the language specific string. I'd like to implement the invalid credential detection so it is not language specific.

      I'd like to propose that pfsense's login page returning a 401 HTTP response code when invalid credential are submitted.

      1 Reply Last reply Reply Quote 0
      • hydrianH
        hydrian
        last edited by

        I'm sending my credential information to https://${PFS_HOSTNAME}/index.php

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.