Open brittag opened 8 years ago
Is there a reason we can't modify the template directly? Can someone tell me where the template is being overwritten right now?
Modifying the templates in situ will make it harder to merge upstream changes, particularly as UAA is expected to grow its own template overriding method at some point. We want to keep our UAA fork as mergeable as possible in case of security issues fixed upstream.
So just copy a template you want to change into the cg/
subdirectory and do your mod there.
In order for cloud.gov users to have a smooth experience logging into their cloud.gov accounts from both the web UI and CLI (including if they've forgotten a bit about how to use it): if they try to reset their password, the automatic error message should give them a helpful link to our docs that explain how to use SSO in the UI and CLI (https://docs.cloud.gov/getting-started/accounts/ and/or https://docs.cloud.gov/getting-started/setup/).
Right now, when people at GSA/EPA try to reset their password, the error message says
This message is confusing. What it should really say is more like this (just sample language; I'd want to rework this a little more when we actually implement it):
The default message comes from a Cloud Foundry template: https://github.com/18F/cg-uaa/blob/master/server/src/main/resources/templates/mail/reset_password_unavailable.html
Info about changing this from this Slack message:
And: