Sha256: 19a8eaf66f1f4e37e70d52eda8030ba556eb42b3b57f93c86a378eeee062be21
Contents?: true
Size: 368 Bytes
Versions: 12
Compression:
Stored size: 368 Bytes
Contents
require 'devise/schema' module Devise module Schema # Adds the required fields for cas_authenticatable to the schema. Currently # this is just username (String). def cas_authenticatable if respond_to? :apply_devise_schema apply_devise_schema :username, String else apply_schema :username, String end end end end
Version data entries
12 entries across 12 versions & 2 rubygems