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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1512f69f172fb215afe26257ea225ab1e7400e60
4
- data.tar.gz: 4e9b3976034e0e00a21d6e9c6ff74ae518e8e8c4
3
+ metadata.gz: c55442a56fe2531ffd61625ebb0f83d7bb2fad7e
4
+ data.tar.gz: acac43732000dcab3b854a44f2397478c900ed44
5
5
  SHA512:
6
- metadata.gz: 6fc9abf6bdfc5664f0314b122014fe8a6d41b5f735fd5d37bb9b46fa29ee5c3278c23b8fc365957c945a5d9b3a83d7885025d1e7c089389812ad9daefa6dbcb1
7
- data.tar.gz: d9154b5b97e8da26b66914cd94843837d13e8e5d54e3748f2820cea8acb62a1570982d22aab043f3a02bd08ad231d6bd17c5a1c96fe30ce8111ed32cb752b2a7
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}.find_by_email(params[:#{model.underscore}][:email])
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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Backframe
4
- VERSION = '0.0.46'
4
+ VERSION = '0.0.47'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backframe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.46
4
+ version: 0.0.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Kops