18 lines
326 B
Ruby
18 lines
326 B
Ruby
# frozen_string_literal: true
|
|
|
|
class User < ApplicationRecord
|
|
devise(
|
|
# :confirmable,
|
|
:database_authenticatable,
|
|
# :lockable,
|
|
# :omniauthable,
|
|
# :recoverable,
|
|
:registerable,
|
|
:rememberable,
|
|
# :timeoutable,
|
|
:trackable,
|
|
:validatable,
|
|
)
|
|
|
|
rolify role_join_table_name: 'user_roles'
|
|
end
|