backframe 0.0.46 → 0.0.47
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/backframe/actioncontroller/acts_as_session.rb +1 -1
- data/lib/backframe/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: c55442a56fe2531ffd61625ebb0f83d7bb2fad7e
|
4
|
+
data.tar.gz: acac43732000dcab3b854a44f2397478c900ed44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7a1f81d5205173f9b5e751971c3f23c4a8e548c678c4f573907f7a0cd35388780e2aad5b2fe828377345983544139936b2c342172e29b64ef5c628404503d2f
|
7
|
+
data.tar.gz: 10f75898a2bcc40f1ba0947a33f8f4c23daefbc9f0cf3bad83804ea161fb2a2776c0e9ef52cd1c27bbeaa67f46b78a98c8fe6c1d6033f69ea799c40199383746
|
@@ -27,7 +27,7 @@ module Backframe
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def create
|
30
|
-
if @user = #{model}.
|
30
|
+
if @user = #{model}.where('LOWER(email) = ?', params[:#{model.underscore}][:email].downcase).first
|
31
31
|
if @user.locked_out?
|
32
32
|
flash[:error] = I18n.t(:session_locked)
|
33
33
|
session[:signin_locked] = true
|
data/lib/backframe/version.rb
CHANGED