0
0
Fork 0

Fix various visual sign-up flow issues (#33206)

This commit is contained in:
Eugen Rochko 2024-12-09 09:23:19 +01:00 committed by GitHub
parent 58c40caeb4
commit ca45f896dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
88 changed files with 35 additions and 414 deletions

View file

@ -142,4 +142,12 @@ class Auth::RegistrationsController < Devise::RegistrationsController
def set_cache_headers
response.cache_control.replace(private: true, no_store: true)
end
def is_flashing_format? # rubocop:disable Naming/PredicateName
if params[:action] == 'create'
false # Disable flash messages for sign-up
else
super
end
end
end