瀏覽代碼

Updated rate limit message

Will Browning 6 年之前
父節點
當前提交
cb36a3aa01
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      app/Console/Commands/ReceiveEmail.php
  2. 1 1
      resources/views/settings/show.blade.php

+ 1 - 1
app/Console/Commands/ReceiveEmail.php

@@ -218,7 +218,7 @@ class ReceiveEmail extends Command
                 function () use ($user) {
 
                     // Rate limit reached, return error message
-                    $this->error('4.2.1 Rate limit exceeded for user ' . $user->username . '. Please try again later.');
+                    $this->error('5.2.1 Rate limit exceeded for user ' . $user->username . '. Please try again later.');
 
                     exit(1);
                 }

+ 1 - 1
resources/views/settings/show.blade.php

@@ -253,7 +253,7 @@
 
                     <div class="mt-4 w-24 border-b-2 border-grey-200"></div>
 
-                    <p class="mt-6">The from name is shown when you reply anonymously to a forwarded email. If set to empty then a default from name will be used for each alias e.g. "ebay{{ '@'.$user->username }}.anonaddy.me via AnonAddy".</p>
+                    <p class="mt-6">The from name is shown when you reply anonymously to a forwarded email. If set to empty then a default from name will be used for each alias e.g. "ebay{{ '@'.$user->username }}.{{ config('anonaddy.domain') }} via AnonAddy".</p>
 
                     <div class="mt-6 flex flex-wrap mb-4">
                         <label for="from_name" class="block text-grey-700 text-sm mb-2">