Module: Devise::Schema
- Defined in:
- lib/devise_cas_authenticatable/schema.rb
Instance Method Summary collapse
-
#cas_authenticatable ⇒ Object
Adds the required fields for cas_authenticatable to the schema.
Instance Method Details
#cas_authenticatable ⇒ Object
Adds the required fields for cas_authenticatable to the schema. Currently this is just username (String).
11 12 13 14 15 16 17 |
# File 'lib/devise_cas_authenticatable/schema.rb', line 11 def cas_authenticatable if respond_to? :apply_devise_schema apply_devise_schema :username, String else apply_schema :username, String end end |