devise 3.0.2 → 3.0.3
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
@@ -241,11 +241,6 @@ module Devise
|
|
241
241
|
regenerate_confirmation_token && save(:validate => false)
|
242
242
|
end
|
243
243
|
|
244
|
-
def after_password_reset
|
245
|
-
super
|
246
|
-
confirm! unless confirmed?
|
247
|
-
end
|
248
|
-
|
249
244
|
def postpone_email_change_until_confirmation_and_regenerate_confirmation_token
|
250
245
|
@reconfirmation_required = true
|
251
246
|
self.unconfirmed_email = self.email
|
data/lib/devise/version.rb
CHANGED
@@ -230,15 +230,6 @@ class PasswordTest < ActionDispatch::IntegrationTest
|
|
230
230
|
end
|
231
231
|
end
|
232
232
|
|
233
|
-
test 'sign in user automatically and confirm after changing its password if it\'s not confirmed' do
|
234
|
-
user = create_user(:confirm => false)
|
235
|
-
request_forgot_password
|
236
|
-
reset_password :reset_password_token => user.reload.reset_password_token
|
237
|
-
|
238
|
-
assert warden.authenticated?(:user)
|
239
|
-
assert user.reload.confirmed?
|
240
|
-
end
|
241
|
-
|
242
233
|
test 'reset password request with valid E-Mail in XML format should return valid response' do
|
243
234
|
create_user
|
244
235
|
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: 3.0.
|
4
|
+
version: 3.0.3
|
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
|