summaryrefslogtreecommitdiff
path: root/example/http-srp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'example/http-srp.rb')
-rw-r--r--example/http-srp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/http-srp.rb b/example/http-srp.rb
index e83036f..ef43844 100644
--- a/example/http-srp.rb
+++ b/example/http-srp.rb
@@ -23,7 +23,7 @@ post '/register/salt/' do
end
post '/register/user/' do
- User.current.verifier = params.delete('v').to_i
+ User.current.verifier = params.delete('v').hex
erb :ok, :layout => false, :content_type => :xml
end