Improved subscriber handling

- Signed routes
- Manage subscriptions now sends an email link
This commit is contained in:
James Brooks
2019-07-12 11:39:13 +01:00
parent 29d640e74b
commit 7f53a7e9df
8 changed files with 112 additions and 22 deletions
+10 -9
View File
@@ -90,15 +90,16 @@ return [
'manage_at_link' => 'Manage your subscriptions at :link',
],
'email' => [
'subscribe' => 'Subscribe to email updates.',
'subscribed' => 'You\'ve been subscribed to email notifications, please check your email to confirm your subscription.',
'updated-subscribe' => 'You\'ve succesfully updated your subscriptions.',
'verified' => 'Your email subscription has been confirmed. Thank you!',
'manage' => 'Manage your subscription',
'unsubscribe' => 'Unsubscribe from email updates.',
'unsubscribed' => 'Your email subscription has been cancelled.',
'failure' => 'Something went wrong with the subscription.',
'already-subscribed' => 'Cannot subscribe :email because they\'re already subscribed.',
'manage_subscription' => 'We\'ve sent you an email, please click the link to manage your subscription',
'subscribe' => 'Subscribe to email updates.',
'subscribed' => 'You\'ve been subscribed to email notifications, please check your email to confirm your subscription.',
'updated-subscribe' => 'You\'ve succesfully updated your subscriptions.',
'verified' => 'Your email subscription has been confirmed. Thank you!',
'manage' => 'Manage your subscription',
'unsubscribe' => 'Unsubscribe from email updates.',
'unsubscribed' => 'Your email subscription has been cancelled.',
'failure' => 'Something went wrong with the subscription.',
'already-subscribed' => 'Cannot subscribe :email because they\'re already subscribed.',
],
],
+8
View File
@@ -85,6 +85,14 @@ return [
'action' => 'Verify',
],
],
'manage' => [
'mail' => [
'subject' => 'Manage Your Subscription',
'content' => 'Click to manage your subscription to :app_name status page.',
'title' => 'Click to manage your subscription to :app_name status page.',
'action' => 'Manage subscription',
],
],
],
'system' => [
'test' => [