Fixes incorrect flash message on confirmation

The :confirmed default message in devise.en.yml
used to say "You are now signed in." This is no
longer the default behavior in v3.1.0.

This commit renames that message to
:confirmed_and_signed_in and changes the :confirmed
message to be appropriate for the default post-
confirmation location (which is now the new session
page). The new :confirmed message reads:

"Your account was successfully confirmed. Please
sign in."
This commit is contained in:
Greg Gates
2013-08-30 17:13:11 -04:00
parent f6a74e90e5
commit fc251c306c
2 changed files with 8 additions and 3 deletions

View File

@@ -3,7 +3,8 @@
en:
devise:
confirmations:
confirmed: "Your account was successfully confirmed. You are now signed in."
confirmed: "Your account was successfully confirmed. Please sign in."
confirmed_and_signed_in: "Your account was successfully confirmed. You are now signed in."
send_instructions: "You will receive an email with instructions about how to confirm your account in a few minutes."
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions about how to confirm your account in a few minutes."
failure: