Comments (2)
Why we dont use the natural behavior of api platform and just send the json request with name/username/email to the entrypoints /people/
with the json content and let the api platform serializer do the job ?
Then we just have to add an event listener from the framework's event system which activate automatically the account, or call a MailManager which will send a verification email with an unique token.
-> a post-write event to send the email verification
-> then a custom operation for the verification which enabled the user ?
(it need to add an entrypoint for the User/Person resource)
https://api-platform.com/docs/core/events
from coopcycle-web.
Done, closing.
from coopcycle-web.
Related Issues (20)
- In order to clean up stuff As an admin I want to be able to delete objects in the admin part
- fix: the delivery form gets broken if the total price of the order is 0
- "Create order" should be ticked by default for stores
- "edenred_enabled" is not set when creating a restaurant
- In the admin, If you chose a different map provider than google maps the form stills validate the GoogleMap API Key HOT 1
- i want to be able to hide tours or add a specific color HOT 3
- Is it possible to remove the mention of Swile in /order/payment when i want to add a new card [Naofood]
- Prevent clicking on the Order button multiple times on the Address page (mobile web only)
- When inviting a user with an email link, the email should automatically be filled in when clicking in the link
- When i make an account, the "check it out" link should send me to a different page
- Be able to change the admin email of a business account HOT 1
- Business account problem: with existing user account doesnt work HOT 1
- When creating a buisness account, the cooperative should create delivery address, and the linked page should only ask for business info
- text is wrong for a business account link
- when activating a business account, when i click "create order" it takes me to an order page which i dont need HOT 1
- business account order history confusion
- pricing problem with TLOK HOT 4
- cancelled task showing as not cancelled
- In the admin, on a pricing rule set page (+ list), show where it is used + In the admin, on a package set page (+ list), show where it is used
- Default selection of packages does not work anymore HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coopcycle-web.