@@ -1,7 +1,7 @@
class User < ApplicationRecord
# Include default devise modules. Others available are:
# :confirmable, :lockable, :timeoutable and :omniauthable
- devise :masqueradable, :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable, :omniauthable
+ devise :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable, :omniauthable
has_person_name
@@ -82,9 +82,6 @@ def add_users
/ # config.secret_key = .+/,
" config.secret_key = Rails.application.credentials.secret_key_base"
end
-
- # Add Devise masqueradable to users
- inject_into_file("app/models/user.rb", "omniauthable, :masqueradable, :", after: "devise :")
def add_bootstrap