1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00

[bug] do not allow users to register with an invalid email address

This commit is contained in:
Sylvain 2021-06-09 19:10:31 +02:00
parent 13fae70277
commit 4368851151
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@
- Fix a bug: in the admin calendar, the trainings' info panel shows "duration: null minutes"
- Fix a bug: on the subscriptions page, not logged-in users do not see the action button
- Fix a bug: unable to map a new setup to the db network
- Fix a bug: do not allow users to register with an invalid email address
- Fix a security issue: updated dns-packet to 1.3.4 to fix [CVE-2021-23386](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23386)
- `SUPERADMIN_EMAIL` renamed to `ADMINSYS_EMAIL`
- `scripts/run-tests.sh` renamed to `scripts/tests.sh`

View File

@ -74,6 +74,7 @@
<span class="input-group-addon"><i class="fa fa-envelope"></i></span>
<input type="email"
name="email"
ng-pattern="/^[^@]+@[^\.]+\..{2,}$/"
ng-model="user.email"
class="form-control"
placeholder="{{ 'app.public.common.your_email_address' | translate }}"