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

    Display username of the user in the success login page

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 1.3k 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.
    • L
      luigel
      last edited by

      How can I display the username of the user who login in the success page. I want to greet the users in the success page and use it for something. Thank you :)

      1 Reply Last reply Reply Quote 0
      • T
        tamduong
        last edited by

        The default form of Captive Portal already input the username, so you only create $username=$_POST['auth_user'] then echo $username;  :)

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