surfingdmx / biker

A biking competition website
GNU Affero General Public License v3.0
0 stars 0 forks source link

Reliable email address deletion #19

Open surfingdmx opened 5 years ago

surfingdmx commented 5 years ago

As the current design of the email management view allows an action for each email address, there have to be indices in the ids of the elements (which is already the case). Those indeces are used on the server side, but they are not necessarily the order in which the addresses are stored in the database. Thus, there must be a comparison on the address itself in order to be sure to not delete a wrong address by accident.