-
Notifications
You must be signed in to change notification settings - Fork 310
Closed
Description
Describe the bug
When doing sponsor registration on captive portal using portal modules, you can specify "notes" field as a mandatory field. It could be used to let user specify some motivations related to its registration.
However, when doing sponsor registration, PacketFence automatically write some informations into "Notes" field. Consequently, notes entered by user are lost.
To Reproduce
Steps to reproduce the behavior:
- Create a portal module that use default sponsor source with "notes" as a mandatory field
- Define a connection profile which use your new portal module
- Add "Mark as sponsor" right to admin user
- Try to register on captive portal using sponsor source with admin user
- Add some content into notes field
- Check value of "notes" field in PacketFence web admin after node has been registered
=> It contains "sponsored .."
Expected behavior
We should keep notes entered by user.
Reactions are currently unavailable