Since the ThinkUp version two redesign was merged into master, the forgotten passwords functionality for self-hosted systems has not worked. The controller had a check for the value of the submit button in order to send out the forgotten passwords template. However, the redesign changed the text (and hence the value) of the button, and the controller has never been changed to catch up.
This commit makes that change, updates the controller tests and adds an end-to-end test to catch the regression in future.
This is a fix for https://github.com/ThinkUpLLC/ThinkUp/issues/2236
Since the ThinkUp version two redesign was merged into master, the forgotten passwords functionality for self-hosted systems has not worked. The controller had a check for the value of the submit button in order to send out the forgotten passwords template. However, the redesign changed the text (and hence the value) of the button, and the controller has never been changed to catch up.
This commit makes that change, updates the controller tests and adds an end-to-end test to catch the regression in future.