This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/app
Martin Brennan 6e2be3e60b
FIX: When admin changes an email for the user the user must confirm the change (#10830)
See https://meta.discourse.org/t/changing-a-users-email/164512 for additional context.

Previously when an admin user changed a user's email we assumed that they would need a password reset too because they likely did not have access to their account. This proved to be incorrect, as there are other reasons a user needs admin to change their email. This PR:

* Changes the admin change email for user flow so the user is sent an email to confirm the change
* We now record who the email change request was requested by
* If the requested by user is admin and not the user we note this in the email sent to the user
* We also make the confirm change email route open to anonymous users, so it can be clicked by the user even if they do not have access to their account. If there is a logged in user we make sure the confirmation matches the current user.
2020-10-07 13:02:24 +10:00
..
adapters DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
components FIX: Deprecated overwriting of computed property 2020-10-05 12:09:01 -04:00
controllers FIX: When admin changes an email for the user the user must confirm the change (#10830) 2020-10-07 13:02:24 +10:00
helpers FIX: makes dashboard periods use current day and weekly 7 days (#10817) 2020-10-05 10:32:12 +02:00
initializers DEV: enforces eslint’s curly rule to the codebase (#10720) 2020-09-22 16:28:28 +02:00
lib FIX: remove whitespaces around inline HTML tags next to text. (#10803) 2020-10-02 10:56:40 +05:30
mixins FIX: Dismiss unread respects tracked query param (#10714) 2020-09-25 12:39:37 -07:00
models FEATURE: composer option to reload page and force save draft (#10773) 2020-09-29 22:29:03 +05:30
pre-initializers DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
raw-views DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00
routes DEV: enforces eslint’s curly rule to the codebase (#10720) 2020-09-22 16:28:28 +02:00
services DEV: enforces eslint’s curly rule to the codebase (#10720) 2020-09-22 16:28:28 +02:00
templates FIX: When admin changes an email for the user the user must confirm the change (#10830) 2020-10-07 13:02:24 +10:00
widgets Revert "FIX: Use topic title headline in search menu result." 2020-10-02 13:12:31 +08:00
app.js DEV: Add support for api-initializers to reduce boilerplate. 2020-09-30 16:05:44 -04:00
mapping-router.js DEV: apply new coding standards (#10592) 2020-09-04 13:42:47 +02:00