diff --git a/README.md b/README.md index f510c9c..51dadbc 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,14 @@ Manager for the esup-otp-api. Allow users to edit theirs preferences and admins to administrate ;) ### Version -1.3 **Require "npm install"** -- support Webauthn (**require esup-otp-api v1.5.0**) -- update dependency versions -- fix some accessibility problems (**may break custom CSS**) -- allow international phone number (To authorize only certain numbers. Modify the [regex in the app.js file](https://github.com/EsupPortail/esup-otp-manager/blob/master/public/javascripts/app.js#L446) ) +1.5 **Require "npm install"** +- You can now **redirect a manager to a user's page** using a link like `http://localhost:4000/login?user=toto` +- You can now **prevent users from using their professional e-mail addresses** to *random_code_mail* transport.
+For this, in *properties/esup.json*, uncomment *transport_regexes.mail*, and modify the associated regex.
+(For example, the regex `^(?!.*(?:univ[.]fr|univ-paris[.]fr)$).*$` prevents e-mail addresses ending with "univ.fr" or "univ-paris.fr") +- Improve user search performance +- Update dependencies +- Some refactors ### Requirements - [esup-otp-api](https://github.com/EsupPortail/esup-otp-api) diff --git a/package-lock.json b/package-lock.json index a118635..ad69c81 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "esup-otp-manager", - "version": "1.4.0", + "version": "1.5.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "esup-otp-manager", - "version": "1.4.0", + "version": "1.5.0", "license": "MIT", "dependencies": { "body-parser": "2.x", diff --git a/package.json b/package.json index 07cbe36..971df9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "esup-otp-manager", - "version": "1.4.0", + "version": "1.5.0", "private": true, "repository": { "type": "git",