iron-cms 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/iron/passwords_controller.rb +2 -2
- data/lib/iron/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45469bfa6f8827133b52c1a63a10068b890f9107ee12bc998884c180ea2ee7d6
|
|
4
|
+
data.tar.gz: 7ce6b924979886efd4b925dda837a5873d4fba332ea8ff0cecb855d61c66e025
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eab1e3364b37b5eec831b89fb769d2827784e6629b2cd19d60c9f41b26c247cd944bcb022e0d67577e44a7d33d3dc418751444e74ea83b96f94b15e2e425e631
|
|
7
|
+
data.tar.gz: fb9863800bcc5dc849d3e874fcf2dd2d8144592643257f71c4887087fabd9837e1a2d2e8e5569dba838d0b7993097d23ac1ce25c8d68493905394c0718cc444b
|
|
@@ -13,7 +13,7 @@ module Iron
|
|
|
13
13
|
Iron::PasswordsMailer.reset(user).deliver_later
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
redirect_to
|
|
16
|
+
redirect_to sign_in_url, notice: "Password reset instructions sent."
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def edit
|
|
@@ -21,7 +21,7 @@ module Iron
|
|
|
21
21
|
|
|
22
22
|
def update
|
|
23
23
|
if @user.update(params.permit(:password, :password_confirmation))
|
|
24
|
-
redirect_to
|
|
24
|
+
redirect_to sign_in_url, notice: "Password has been reset."
|
|
25
25
|
else
|
|
26
26
|
redirect_to edit_password_url(params[:token]), alert: "Passwords did not match."
|
|
27
27
|
end
|
data/lib/iron/version.rb
CHANGED