authlogic_wind 0.3.0 → 0.3.2
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.
- data/VERSION +1 -1
- data/authlogic_wind.gemspec +1 -1
- data/lib/authlogic_wind/session.rb +14 -1
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.2
|
data/authlogic_wind.gemspec
CHANGED
|
@@ -40,7 +40,16 @@ module AuthlogicWind
|
|
|
40
40
|
|
|
41
41
|
alias_method :auto_register=,:auto_register
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
# Add this in your Session object to Auto Register a new user using openid via sreg
|
|
44
|
+
def login_only_with_wind(value=nil)
|
|
45
|
+
rw_config(:login_only_with_wind,value,false)
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
alias_method :login_only_with_wind=,:login_only_with_wind
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
end
|
|
44
53
|
|
|
45
54
|
|
|
46
55
|
module Methods
|
|
@@ -124,6 +133,10 @@ module AuthlogicWind
|
|
|
124
133
|
self.class.auto_register == true
|
|
125
134
|
end
|
|
126
135
|
|
|
136
|
+
def login_only_with_wind?
|
|
137
|
+
self.class.login_only_with_wind == true
|
|
138
|
+
end
|
|
139
|
+
|
|
127
140
|
def validate_by_wind
|
|
128
141
|
validate_email_field = false
|
|
129
142
|
if wind_response.blank?
|