OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Portal captive and Email
« previous next »
  • Print
Pages: [1]

Author Topic: Portal captive and Email  (Read 4085 times)

jbdu12

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
Portal captive and Email
« on: January 19, 2017, 09:11:49 am »
Hello,

I want to collect email in registration of my captive portal.

It's possible?   

Thanks
Logged

jbdu12

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
Re: Portal captive and Email
« Reply #1 on: January 12, 2018, 08:20:41 am »
Anybody has already making this code????


Coding is not my favorite friend !
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: Portal captive and Email
« Reply #2 on: January 12, 2018, 08:27:14 am »
Would you not end up with a long list of 'MickeyMouse@disney.com' type of addresses? If you force your users to verify their address, you need to offer them an internet connection to do so. Chicken and egg problem.

Bart...
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Portal captive and Email
« Reply #3 on: January 12, 2018, 08:13:17 pm »
Quote from: jbdu12 on January 19, 2017, 09:11:49 am
Hello,

I want to collect email in registration of my captive portal.

It's possible?   

Thanks
This may be illegal in countries with strict private laws  because you are only allowed PII, which are needed to provide the service (for example postal address for online stores).
Logged

jbdu12

  • Newbie
  • *
  • Posts: 22
  • Karma: 0
    • View Profile
Re: Portal captive and Email
« Reply #4 on: January 26, 2018, 09:34:06 am »
In France , it's legal, if you can unsubcribe to the mail list, and you must mark this, on page of captive portal.

I think I would have a lot of fake email, but it's not very important for my client

Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Portal captive and Email
« Reply #5 on: January 26, 2018, 05:19:15 pm »
The easiest way is to upload a custom template doing an additional POST request to another server like an Raspberry PI in the same network and then do the login. Please note that I will very likely not add such a feature to the CP.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Portal captive and Email
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2