Commit 9d1d73d66090cc37cffd5d9281f9ed5c7384223b
1 parent
3ec278d7
Exists in
master
and in
15 other branches
oauth_client: fix signup page
Showing
2 changed files
with
10 additions
and
0 deletions
Show diff stats
plugins/oauth_client/lib/ext/user.rb
... | ... | @@ -9,6 +9,7 @@ class User |
9 | 9 | after_create :store_oauth_providers |
10 | 10 | |
11 | 11 | def initialize_with_oauth_client(attributes = {}, options = {}) |
12 | + attributes ||= {} | |
12 | 13 | @oauth_providers = attributes.delete(:oauth_providers) || [] |
13 | 14 | initialize_without_oauth_client(attributes, options) |
14 | 15 | end | ... | ... |
plugins/oauth_client/test/functional/oauth_client_plugin_account_controller_test.rb
0 → 100644