diff --git a/Gemfile.d/other_stuff.rb b/Gemfile.d/other_stuff.rb index b64e2f5b959..4100ca4f33a 100644 --- a/Gemfile.d/other_stuff.rb +++ b/Gemfile.d/other_stuff.rb @@ -16,7 +16,7 @@ end gem 'encrypted_cookie_store-instructure', '1.1.8', :require => 'encrypted_cookie_store' gem 'active_model_serializers', '0.9.0alpha1', :github => 'rails-api/active_model_serializers', :ref => '61882e1e4127facfe92e49057aec71edbe981829' -gem 'authlogic', '3.3.0' +gem 'authlogic', '3.4.2' gem 'active_model-better_errors', '1.6.7', :require => 'active_model/better_errors' gem 'dynamic_form', '1.1.4' gem 'rails-patch-json-encode', '0.0.1' diff --git a/app/models/pseudonym.rb b/app/models/pseudonym.rb index 575e825a897..69467c041a8 100644 --- a/app/models/pseudonym.rb +++ b/app/models/pseudonym.rb @@ -67,6 +67,7 @@ class Pseudonym < ActiveRecord::Base config.perishable_token_valid_for = 30.minutes config.validates_length_of_login_field_options = {:within => 1..MAX_UNIQUE_ID_LENGTH} config.validates_uniqueness_of_login_field_options = { :case_sensitive => false, :scope => [:account_id, :workflow_state], :if => lambda { |p| (p.unique_id_changed? || p.workflow_state_changed?) && p.active? } } + config.crypto_provider = Authlogic::CryptoProviders::Sha512 end attr_writer :require_password