Sha256: 2c6e25a017ff87fa160aab020fcbcf9ca4c68e506fb0f122bb301b3de6ac46e3

Contents?: true

Size: 307 Bytes

Versions: 5

Compression:

Stored size: 307 Bytes

Contents

class User < ActiveRecord::Base

  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable, password_length: 6..128

  has_one :passport, as: :identity, class_name: "DoorkeeperSsoClient::Passport"

  validates :email, :first_name, presence: true

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
doorkeeper_sso_client-0.3.0 spec/test_app/app/models/user.rb
doorkeeper_sso_client-0.2.9 spec/test_app/app/models/user.rb
doorkeeper_sso_client-0.2.8 spec/test_app/app/models/user.rb
doorkeeper_sso_client-0.2.7 spec/test_app/app/models/user.rb
doorkeeper_sso_client-0.2.5 spec/test_app/app/models/user.rb