diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-10-30 19:04:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-30 19:04:39 +0100 |
commit | a529d6d93e777003019f1ab0d7ff913134625cf6 (patch) | |
tree | 7883582c73552b8c792f88658d73866ecf6e32ae /app/controllers/auth | |
parent | ac9fb0d654440ce1179bab4071941450aa994d2c (diff) |
Fix invites (#19560)
Fixes #19507 Fix regression from #19296
Diffstat (limited to 'app/controllers/auth')
-rw-r--r-- | app/controllers/auth/registrations_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/auth/registrations_controller.rb b/app/controllers/auth/registrations_controller.rb index 84a802447..14e0d9a36 100644 --- a/app/controllers/auth/registrations_controller.rb +++ b/app/controllers/auth/registrations_controller.rb @@ -148,6 +148,7 @@ class Auth::RegistrationsController < Devise::RegistrationsController return if @rules.empty? || (session[:accept_token].present? && params[:accept] == session[:accept_token]) @accept_token = session[:accept_token] = SecureRandom.hex + @invite_code = invite_code set_locale { render :rules } end |