Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
handle the case that the setting value is
  • Loading branch information
machisuji committed Jun 9, 2021
1 parent a0b92d8 commit ee35cac
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -49,7 +49,7 @@ You can copy that into the console to get the URL you need.
Finally you can the write the actual setting like this:

```ruby
Setting.plugin_openproject_openid_connect = Hash(Setting.plugin_openproject_openid_connect).deep_merge({
Setting.plugin_openproject_openid_connect = Hash(Setting.plugin_openproject_openid_connect || {}).deep_merge({
"providers" => {
"okta" => options
}
Expand Down

0 comments on commit ee35cac

Please sign in to comment.