mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-07 09:01:13 -05:00
fix(UI): remove flash from update email flow (#54226)
This commit is contained in:
@@ -95,7 +95,10 @@ function updateMyEmail(req, res, next) {
|
||||
} = req;
|
||||
return user
|
||||
.requestUpdateEmail(email)
|
||||
.subscribe(message => res.json({ message }), next);
|
||||
.subscribe(
|
||||
message => res.json({ type: message.type, message: message.message }),
|
||||
next
|
||||
);
|
||||
}
|
||||
|
||||
// Re-enable once we can handle the traffic
|
||||
|
||||
Reference in New Issue
Block a user