Run stage on activation as well

pull/6341/head
Oliver Günther 7 years ago
parent 5b73a759cc
commit e208a1e437
No known key found for this signature in database
GPG Key ID: 88872239EB414F99
  1. 1
      config/initializers/authentication_stages.rb

@ -5,6 +5,7 @@ OpenProject::Application.configure do |application|
OpenProject::Authentication::Stage
.register(
:consent,
run_after_activation: true,
active: ->() { Setting.consent_required? }
) {
account_consent_path

Loading…
Cancel
Save