lib/reader_user.rb in radiant-reader-extension-3.0.9 vs lib/reader_user.rb in radiant-reader-extension-3.0.10
- old
+ new
@@ -8,10 +8,10 @@
end
def update_reader
if self.reader
Reader.user_columns.each { |att| self.reader.send("#{att.to_s}=", send(att)) if send("#{att.to_s}_changed?") }
- self.reader.password_confirmation = password_confirmation if password_changed?
+ self.reader.password_confirmation = password if password_changed?
self.reader.save! if self.reader.changed?
end
end
end