An unofficial, mostly Bitwarden-compatible API server written in Ruby (Sinatra and ActiveRecord)
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix constant error in migration (#74)

The constant `User::DEFAULT_KDF_ITERATIONS` is not defined in the master and therefore the migrations will fail.

authored by

Boik and committed by
joshua stein
5f3cd4cc 8ff61de5

+1 -1
+1 -1
db/migrate/20180818201731_user_kdf_iterations.rb
··· 3 3 add_column :users, :kdf_iterations, :integer 4 4 5 5 User.all.each do |u| 6 - u.kdf_iterations = User::DEFAULT_KDF_ITERATIONS 6 + u.kdf_iterations = Bitwarden::KDF::DEFAULT_ITERATIONS[User::DEFAULT_KDF_TYPE] 7 7 u.save! 8 8 end 9 9 end