FIX: Do not raise 5xx error if user resets keys twice

FIX: Do not raise 5xx error if user resets keys twice

diff --git a/app/controllers/encrypt_controller.rb b/app/controllers/encrypt_controller.rb
index 120906e..a1b1d61 100644
--- a/app/controllers/encrypt_controller.rb
+++ b/app/controllers/encrypt_controller.rb
@@ -109,7 +109,7 @@ class DiscourseEncrypt::EncryptController < ApplicationController
         .delete_all
     end
 
-    user.user_encryption_key.delete
+    user.user_encryption_key&.delete
 
     render json: success_json
   end

GitHub sha: d70d6db9