1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 08:27:42 +02:00

Move email confirmation to POST request (#3038)

* Add blade view to confirm email flow, move actual confirmation to POST request

* Apply fixes from StyleCI

[ci skip] [skip ci]

Co-authored-by: datitisev <datitisev@users.noreply.github.com>
This commit is contained in:
David Sevilla Martín
2021-08-21 11:13:57 -04:00
committed by GitHub
parent 9bae5211c5
commit 3d7ce95256
4 changed files with 84 additions and 1 deletions

View File

@@ -545,6 +545,11 @@ core:
# Translations in this namespace are used in views other than Flarum's normal JS client.
views:
# Translations in this namespace are displayed by the Confirm Email interface.
confirm_email:
submit_button: => core.ref.confirm_email
text: Click the button below to confirm your account's email.
title: => core.ref.confirm_email
# Translations in this namespace are displayed by the basic HTML content loader.
content:
@@ -656,6 +661,7 @@ core:
change_password: Change Password
color: Color # Referenced by flarum-tags.yml
confirm_password: Confirm Password
confirm_email: Confirm Email
confirmation_email_sent: "We've sent a confirmation email to {email}. If it doesn't arrive soon, check your spam folder."
custom_footer_text: Add HTML to be displayed at the very bottom of the page.
custom_footer_title: Edit Custom Footer