corn_starch 1.8.24 → 1.8.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/corn_starch/sessions_controller.rb +1 -1
- data/lib/corn_starch/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8c643d8e60b00d313446554503043772ccebf12
|
4
|
+
data.tar.gz: 9815b8d63b0fc156ee2dcb38884c06eb2fb8bfef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed48115fa6fa87438e8a5f82fa978a0ef64b708854b177cdd4e868724c4a7b2a0fadab66378265fa9e70324e03a2ed7c6377727794f38bdc28f424e29a939272
|
7
|
+
data.tar.gz: 49df300c46ad323dbe98c1f9303bb803c4c068a8d4b846bb4b0599878db805e34437656c4f9e30d0bd3d24c79564fef81d65ba38d217972ea178015c2702ba98
|
@@ -20,7 +20,7 @@ module CornStarch
|
|
20
20
|
@user = user_model.find_by uid_field => params[uid_field]
|
21
21
|
if @user && @user.authenticate(params[:password])
|
22
22
|
session[:user_id] = @user.id
|
23
|
-
redirect_to
|
23
|
+
redirect_to :back, notice: notice_msg(nil, nil, :login, :pass)
|
24
24
|
else
|
25
25
|
flash.now[:alert] = notice_msg(nil, nil, :login, :fail)
|
26
26
|
render action: :new
|
data/lib/corn_starch/version.rb
CHANGED