diff --git a/lib/openid.rb b/lib/openid.rb index ccb3ad91..d3758157 100644 --- a/lib/openid.rb +++ b/lib/openid.rb @@ -12,11 +12,12 @@ # implied. See the License for the specific language governing # permissions and limitations under the License. +module OpenID + VERSION = "2.1.9.3" +end + require "openid/version" require 'openid/store' require 'openid/yadis' require "openid/consumer" -require 'openid/server' - -module OpenID -end +require 'openid/server' \ No newline at end of file diff --git a/lib/openid/message.rb b/lib/openid/message.rb index c494f469..282497bd 100644 --- a/lib/openid/message.rb +++ b/lib/openid/message.rb @@ -278,6 +278,7 @@ def to_form_markup(action_url, form_tag_attrs=nil, submit_text='Continue') form_tag_attr_map['method'] = 'post' form_tag_attr_map['accept-charset'] = 'UTF-8' form_tag_attr_map['enctype'] = 'application/x-www-form-urlencoded' + form_tag_attr_map['id'] = OpenID::Util::HTML_FORM_ID markup = "