20241028081431_issue5381_fix_description.rb 401 B

12345678910
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class Issue5381FixDescription < ActiveRecord::Migration[7.1]
  3. def change
  4. # return if it's a new setup
  5. return if !Setting.exists?(name: 'system_init_done')
  6. Setting.find_by(name: 'auth_third_party_no_create_user').update!(description: 'Disables user creation on logon with a third-party application.')
  7. end
  8. end