Redirect to sign in page when trying to access password#edit without a

reset_password_token (i.e. not coming from a reset password email)
This commit is contained in:
Gregory Bataille
2012-06-08 10:08:35 +02:00
parent 215fdf119e
commit ff75341c75
3 changed files with 16 additions and 0 deletions

View File

@@ -29,6 +29,7 @@ en:
updated: 'Your password was changed successfully. You are now signed in.'
updated_not_active: 'Your password was changed successfully.'
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
confirmations:
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.'