Revision 977f12ed
Added by Amir Fefer about 8 years ago
app/models/nic/base.rb | ||
---|---|---|
module Nic
|
||
class Base < ActiveRecord::Base
|
||
include Foreman::STI
|
||
include Encryptable
|
||
encrypts :password
|
||
|
||
self.table_name = 'nics'
|
||
|
Also available in: Unified diff
Fixes #1329 - encrypt BMC password in DB