浏览代码

Added clear password resets to schedule

Will Browning 6 年之前
父节点
当前提交
a33050330b
共有 3 个文件被更改,包括 3 次插入3 次删除
  1. 1 0
      app/Console/Kernel.php
  2. 0 1
      app/Mail/ForwardEmail.php
  3. 2 2
      resources/js/pages/Recipients.vue

+ 1 - 0
app/Console/Kernel.php

@@ -25,6 +25,7 @@ class Kernel extends ConsoleKernel
     protected function schedule(Schedule $schedule)
     {
         $schedule->command('anonaddy:reset-bandwidth')->monthlyOn(1, '00:00');
+        $schedule->command('auth:clear-resets')->hourly();
     }
 
     /**

+ 0 - 1
app/Mail/ForwardEmail.php

@@ -44,7 +44,6 @@ class ForwardEmail extends Mailable implements ShouldQueue
         $this->emailAttachments = $emailData->attachments;
         $this->deactivateUrl = URL::signedRoute('deactivate', ['alias' => $alias->id]);
         $this->bannerLocation = $this->alias->user->banner_location;
-
         $this->shouldEncrypt = $shouldEncrypt;
 
         if ($shouldEncrypt) {

+ 2 - 2
resources/js/pages/Recipients.vue

@@ -197,7 +197,7 @@
                 />
               </span>
               <button v-else @click="openRecipientKeyModal(recipient)" class="focus:outline-none">
-                Add GPG key
+                Add public key
               </button>
             </div>
           </td>
@@ -290,7 +290,7 @@
         >
           Add Public GPG Key
         </h2>
-        <p class="mt-4 text-grey-700">Enter your <b>PUBLIC</b> in the text area below.</p>
+        <p class="mt-4 text-grey-700">Enter your <b>PUBLIC</b> key data in the text area below.</p>
         <div class="mt-6">
           <p v-show="errors.recipientKey" class="mb-3 text-red-500">
             {{ errors.recipientKey }}