lib/authlogic_connect/openid/tokens/openid_token.rb in authlogic-connect-0.0.3.4 vs lib/authlogic_connect/openid/tokens/openid_token.rb in authlogic-connect-0.0.3.6
- old
+ new
@@ -1,3 +1,9 @@
class OpenidToken < Token
+ before_save :format_identifier
+
+ def format_identifier
+ self.key = self.key.to_s.normalize_identifier unless self.key.blank?
+ end
+
end
\ No newline at end of file