[Git][noosfero/noosfero][master] fix oauth_client plugin
Leandro Nunes
gitlab at mg.gitlab.com
Mon May 7 16:57:26 BRT 2018
Leandro Nunes pushed to branch master at Noosfero / noosfero
Commits:
d87f3a5a by Leandro Nunes dos Santos at 2018-05-07T19:57:13Z
fix oauth_client plugin
- - - - -
1 changed file:
- plugins/oauth_client/lib/ext/user.rb
Changes:
=====================================
plugins/oauth_client/lib/ext/user.rb
=====================================
--- a/plugins/oauth_client/lib/ext/user.rb
+++ b/plugins/oauth_client/lib/ext/user.rb
@@ -31,10 +31,10 @@ class User
alias_method_chain :password_required?, :oauth
- def make_activation_code_with_oauth
+ def make_activation_codes_with_oauth
@oauth_providers.blank? && oauth_providers.blank? ? make_activation_code_without_oauth : nil
end
- alias_method_chain :make_activation_code, :oauth
+ alias_method_chain :make_activation_codes, :oauth
end
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/d87f3a5a1ea604c36d52ebe5d05dc05782d3a023
--
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/d87f3a5a1ea604c36d52ebe5d05dc05782d3a023
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180507/08095004/attachment-0001.html>
More information about the Noosfero-dev
mailing list