devise_security_extension 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/controllers/devise/password_expired_controller.rb +1 -1
- data/devise_security_extension.gemspec +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: 00cd2d3e3598363842cdb94272e7320adcb521a2
|
4
|
+
data.tar.gz: f55d02e76c5a2db00ddce48999d47dc301171d25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed3323e9e97510d049e382f3a4fd9b2e0973cf9bba70e2377b067e32b4e91ce72462b635a07271a5d24144370f699ab0b571af6774e231e60c863faea66bc893
|
7
|
+
data.tar.gz: 9d5ad1d1afea884d3061e60650e346c5698f1a13b62a273167096e8a824dbeecb4d4a87ed24790015a7ab5050497011d2d2447e4e5866cb7af85645a0cbd552c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.2
|
@@ -12,7 +12,7 @@ class Devise::PasswordExpiredController < DeviseController
|
|
12
12
|
|
13
13
|
def update
|
14
14
|
resource.extend(Devise::Models::DatabaseAuthenticatablePatch)
|
15
|
-
if resource.update_with_password(
|
15
|
+
if resource.update_with_password(resource_params)
|
16
16
|
warden.session(scope)['password_expired'] = false
|
17
17
|
set_flash_message :notice, :updated
|
18
18
|
sign_in scope, resource, :bypass => true
|