• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 444 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.
  • H
    hydrian
    last edited by May 18, 2018, 2:34 PM

    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
    • H
      hydrian
      last edited by May 18, 2018, 5:59 PM

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

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received