about summary refs log tree commit diff
path: root/app/controllers/auth
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-03-02 19:11:17 +0100
committerGitHub <noreply@github.com>2022-03-02 19:11:17 +0100
commitd9e30efa5ecc87bc9be7b2e28baaf34bd01032f5 (patch)
treea2bb52cd8418feb062b908dfaf98d00a3c0ccbbe /app/controllers/auth
parent0b8fe020b599341d78cc03431eb156485c70ebea (diff)
parent78781793d5ab370829d7eaee4b8d21994f84763c (diff)
Merge pull request #1709 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/auth')
-rw-r--r--app/controllers/auth/registrations_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb
index 5d32fe66e..1c0f360a9 100644
--- a/app/controllers/auth/registrations_controller.rb
+++ b/app/controllers/auth/registrations_controller.rb
@@ -132,7 +132,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController
   end
 
   def set_strikes
-    @strikes = current_account.strikes.active.latest
+    @strikes = current_account.strikes.recent.latest
   end
 
   def require_not_suspended!