wbase 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/wbase/password_resets_controller.rb +1 -1
- data/lib/wbase/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2a2ce64018fa7285e77fd37b50adb56a0d0dca4
|
4
|
+
data.tar.gz: cbfccc3d16900024662c65baabd862b24ff7b866
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3fa34cf39dee3696b56bb0196c1b84894fe6444b6674f92a1a522d84778431ff9e79b02b0c7461e381c1c45c02ce65bccd6f8c9b161b0511664bd1326254da3
|
7
|
+
data.tar.gz: aaa2909a362f52da5068ff74c5bba2ba01d0bc1cd2d4e31ce56ce598c0ebbf39da30f7557f1c3e9420bbd5a85a1e6b897a74cc4ca75cfbc4820a9518cc15e986
|
@@ -9,7 +9,7 @@ module Wbase
|
|
9
9
|
|
10
10
|
def create
|
11
11
|
# If the user is found, generate password reset
|
12
|
-
user = User.find_by(email: params[:email])
|
12
|
+
user = User.find_by(email: params[:email].try(:downcase))
|
13
13
|
if user
|
14
14
|
user.reset_reset_token!
|
15
15
|
PasswordResetMailer.reset(user).deliver_later
|
data/lib/wbase/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wbase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CJ Avilla
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|