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

    Reuse expire vouchers

    Scheduled Pinned Locked Moved Captive Portal
    2 Posts 2 Posters 573 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
      lukasnasc
      last edited by

      Hello,

      I would like to reuse the vouchers that expired.  I find out the files /var/db/vouchers_used_x.db and when I deleted them, I can reuse the vouchers again.

      Is there another options to do that?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        Well ….
        I guess you have your reasons to do so.

        /etc/inc/voucher.inc - look for "function voucher_write_used_db($roll, $vdb) {" and disable what it is doing ....

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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