diff --git a/templates/zerver/find_account.html b/templates/zerver/find_account.html index 4cd51fb9b6..184aaed5ce 100644 --- a/templates/zerver/find_account.html +++ b/templates/zerver/find_account.html @@ -29,6 +29,11 @@ {% endfor %} + {% trans %} + If you don't receive an email, you can + find accounts for another email address. + {% endtrans %} + {% include 'zerver/dev_env_email_access_details.html' %} @@ -43,7 +48,7 @@ {% endtrans %}

+ action="{{ current_url }}" method="post"> {{ csrf_input }}
diff --git a/tools/lib/capitalization.py b/tools/lib/capitalization.py index 7260cc84b8..b92ac442a7 100644 --- a/tools/lib/capitalization.py +++ b/tools/lib/capitalization.py @@ -83,6 +83,7 @@ IGNORED_PHRASES = [ r"user", r"an unknown operating system", r"Go to Settings", + r"find accounts for another email address", # SPECIAL CASES # Because topics usually are lower-case, this would look weird if it were capitalized r"more topics", diff --git a/zerver/views/registration.py b/zerver/views/registration.py index 7681fdf4a7..06ce6fee45 100644 --- a/zerver/views/registration.py +++ b/zerver/views/registration.py @@ -1128,7 +1128,7 @@ def find_account(request: HttpRequest) -> HttpResponse: return render( request, "zerver/find_account.html", - context={"form": form, "current_url": lambda: url, "emails": emails}, + context={"form": form, "current_url": url, "emails": emails}, )