devise 2.2.6 → 2.2.7
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of devise might be problematic. Click here for more details.
data/CHANGELOG.rdoc
CHANGED
data/Gemfile.lock
CHANGED
@@ -215,11 +215,6 @@ module Devise
|
|
215
215
|
generate_confirmation_token && save(:validate => false)
|
216
216
|
end
|
217
217
|
|
218
|
-
def after_password_reset
|
219
|
-
super
|
220
|
-
confirm! unless confirmed?
|
221
|
-
end
|
222
|
-
|
223
218
|
def postpone_email_change_until_confirmation
|
224
219
|
@reconfirmation_required = true
|
225
220
|
self.unconfirmed_email = self.email
|
data/lib/devise/version.rb
CHANGED
@@ -229,15 +229,6 @@ class PasswordTest < ActionDispatch::IntegrationTest
|
|
229
229
|
end
|
230
230
|
end
|
231
231
|
|
232
|
-
test 'sign in user automatically and confirm after changing its password if it\'s not confirmed' do
|
233
|
-
user = create_user(:confirm => false)
|
234
|
-
request_forgot_password
|
235
|
-
reset_password :reset_password_token => user.reload.reset_password_token
|
236
|
-
|
237
|
-
assert warden.authenticated?(:user)
|
238
|
-
assert user.reload.confirmed?
|
239
|
-
end
|
240
|
-
|
241
232
|
test 'reset password request with valid E-Mail in XML format should return valid response' do
|
242
233
|
create_user
|
243
234
|
post user_password_path(:format => 'xml'), :user => {:email => "user@test.com"}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-08-
|
13
|
+
date: 2013-08-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: warden
|