thincloud-authentication 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,10 @@ module Thincloud::Authentication
8
8
  helper "thincloud/authentication/registrations"
9
9
 
10
10
  def new
11
+ if current_user
12
+ redirect_to after_login_path, notice: "You are already registered."
13
+ end
14
+
11
15
  @identity = Identity.new
12
16
  end
13
17
 
@@ -1,5 +1,5 @@
1
1
  module Thincloud
2
2
  module Authentication
3
- VERSION = "0.6.4"
3
+ VERSION = "0.6.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thincloud-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
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-06-01 00:00:00.000000000 Z
13
+ date: 2013-06-09 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -150,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  segments:
152
152
  - 0
153
- hash: -688498285375769564
153
+ hash: 4216591599170417665
154
154
  required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  none: false
156
156
  requirements:
@@ -159,10 +159,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  version: '0'
160
160
  segments:
161
161
  - 0
162
- hash: -688498285375769564
162
+ hash: 4216591599170417665
163
163
  requirements: []
164
164
  rubyforge_project:
165
- rubygems_version: 1.8.23
165
+ rubygems_version: 1.8.25
166
166
  signing_key:
167
167
  specification_version: 3
168
168
  summary: Rails Engine to provide authentication for Thincloud applications