caboose-cms 0.8.18 → 0.8.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e396ee4af10a9a46ddb79d556859276bbe27612b
4
- data.tar.gz: 5929d71bc68d4f9e75ba97cbba9d598012833fc5
3
+ metadata.gz: 9358c4e426e2ac03fbb5cadc8906d0bb3f56c622
4
+ data.tar.gz: 3f2f75073157e3e4ff49ac36b9709ae65c059c65
5
5
  SHA512:
6
- metadata.gz: b22e850aecc4ac1dd4011f166bf93ca255c27aaefa396dea708318dcbec8cb2b990cc4d077ce2f4735ac5897a72648669d9edc0e87aba884d359eb694d86599e
7
- data.tar.gz: 0c978d67e9e5a6504762ccc285059fdae462b8c406a8b308c12b0dd4e48eea7a6f421863d595c48361c409bf82b287bc9aaf5022253b9be86a15da594af9dd44
6
+ metadata.gz: ed6dc00cb2f42e15cfdb9ef37db29e983e9af887c34722cdb4b4c3a304ec066572afa394df3fbcf459a98d0f747a8cd55abbd6f6dca70f632a0656d5462a454a
7
+ data.tar.gz: 67b0a26a36ceee5e3e406c6ebcb5742208abe7a1ed8cbd3905d81e8a187673f42aa75eb2192ba5c76bcc0c94629df3cc535cadd8dca65a5b1766c221a23e740a
@@ -92,8 +92,10 @@ module Caboose
92
92
  # @route GET /login/reset-password/:reset_id
93
93
  def reset_password_form
94
94
  @return_url = params[:return_url].nil? ? "/" : params[:return_url]
95
- redirect_to @return_url if logged_in?
96
- return
95
+ if logged_in?
96
+ redirect_to @return_url
97
+ return
98
+ end
97
99
  @reset_id = params[:reset_id]
98
100
  @user = Caboose::User.user_for_reset_id(@reset_id)
99
101
  render :layout => Caboose::login_layout
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.8.18'
2
+ VERSION = '0.8.19'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.18
4
+ version: 0.8.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry