Skip to content
Browse files

add deprecation warnings re future removal of general_user_attributes

  • Loading branch information...
1 parent 78db341 commit 20a0f3784f06ee6abcadcc7dc69fb0079f6acc08 @ndushay ndushay committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/hydra/generic_user_attributes.rb
View
5 lib/hydra/generic_user_attributes.rb
@@ -1,5 +1,10 @@
module Hydra::GenericUserAttributes
+ def self.included(base)
+ ActiveSupport::Deprecation.warn("Hydra::GenericUserAttributes has been deprecated and will be removed no later than release 6. Use devise or similar.")
+ super
+ end
+
USER_ATTRIBUTES = ['first_name','last_name','full_name','affiliation','photo']
attr_writer :user_attributes

0 comments on commit 20a0f37

Please sign in to comment.
Something went wrong with that request. Please try again.