corn_starch 1.9.23 → 1.9.24

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4a354c7364529a5237873d493ccc8fa06bb25b9
4
- data.tar.gz: a026f180a7e457ea2d5cdbf139fbe2c78c4a2e3a
3
+ metadata.gz: 43dd7552bd8566fd98f2bd5b68c6dbb93d2b5a0a
4
+ data.tar.gz: b95b468f9675131a1ae1e9cd13e08fcf5ec55f6c
5
5
  SHA512:
6
- metadata.gz: 9af70c74863e6c9aff33d3964d2438aef6a66d4c5be7e66104e2cf23f0ff86d0a11c63a3f517afff39d8568d7771735e5847d8527f56414b888fccb5dd616bdf
7
- data.tar.gz: 8869f0cdf0dfa65ee7c82a21b2f157aeff905d3bd05ce27a8ac19aa6ba4baee07772a5d6a163f495a289f0d141411aaea07a1adfab1231cb38873a2100e8cb0a
6
+ metadata.gz: 9fea378f6092266dcff04256ed2328be4c064012e510b9ad56615b5b0d43dd11acffb52de0cddb4233b44ea5338eca08c503fead76a4ac83868d0aeb82978b6b
7
+ data.tar.gz: 6fd3e5d8dbc2e63898d5b11c2803b2a1efceb21738a9cf8fec4b46580dd3826415d9aab589ab39e8f146bda14ec16525e26b092908875a3cf526e4baa87b2caf
@@ -25,6 +25,7 @@ module CornStarch
25
25
  @user = user_model.find_by uid_field => params[uid_field]
26
26
  if @user && @user.authenticate(params[:password])
27
27
  session[:user_id] = @user.id
28
+ I18n.locale = @user.try :locale
28
29
  redirect_to :back, notice: notice_msg(nil, nil, :login, :pass)
29
30
  else
30
31
  flash.now[:alert] = notice_msg(nil, nil, :login, :fail)
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.9.23'
2
+ VERSION = '1.9.24'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.23
4
+ version: 1.9.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse