Browse Source
* feat: update expired join link page * feat: update controller * feat: show invalid page if token invalid * feat: add password hint_text * feat: use new templates * refactor: min password length simplification * feat: add dynamic template selection * feat: revert devise behaviour * feat: fix initial confirmation sent behaviour * feat: show invalid page if link invalid * test: update * test: add tests for path * db: update * refactor: linting * feat: move initial_confirmation_sent update * feat: add further reconfirmation to tests * refactor: simplify by removing before_action * revert password hint text update (added to cldc-1963 instead) * feat: reset initial_confirmation_sent if deactivated * feat: reset initial_confirmation_sent if deactivated * feat: add flash notice for already confirmed * feat: fix reset passwords bugs - stop leaking between reset/change routes * test: add tests for change vs reset password routes * feat: add reset password persistencepull/1278/head
natdeanlewissoftwire
2 years ago
committed by
GitHub
16 changed files with 121 additions and 105 deletions
@ -1,11 +0,0 @@
|
||||
<% content_for :title, "Your invitation link has expired" %> |
||||
|
||||
<div class="govuk-grid-row"> |
||||
<div class="govuk-grid-column-two-thirds"> |
||||
<h1 class="govuk-heading-l"> |
||||
<%= content_for(:title) %> |
||||
</h1> |
||||
|
||||
<p class="govuk-body">Contact the helpdesk to request a new one.</p> |
||||
</div> |
||||
</div> |
@ -0,0 +1,12 @@
|
||||
<% content_for :title, "Expired link" %> |
||||
|
||||
<div class="govuk-grid-row"> |
||||
<div class="govuk-grid-column-two-thirds"> |
||||
<h1 class="govuk-heading-l"> |
||||
<%= content_for(:title) %> |
||||
</h1> |
||||
|
||||
<p class="govuk-body">It looks like you have requested a newer join link than this one. Check your emails and follow the most recent link instead.</p> |
||||
|
||||
</div> |
||||
</div> |
@ -0,0 +1,5 @@
|
||||
class AddInitialConfirmationSentToUsers < ActiveRecord::Migration[7.0] |
||||
def change |
||||
add_column :users, :initial_confirmation_sent, :boolean |
||||
end |
||||
end |
Loading…
Reference in new issue