summaryrefslogtreecommitdiff
path: root/example/views/authenticate.erb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-06-28 19:43:40 +0200
committerAzul <azul@leap.se>2012-06-29 14:55:10 +0200
commit20bf14939fbd75e3ee0206c2bf14737e2c7ac2c2 (patch)
treee035c91c65e8e48d6a6af317e900a8fb9897a739 /example/views/authenticate.erb
parente55ff681bcc5a6c479530d1411a3da75912d78e5 (diff)
adopted srp algo to srp-js way of doing things.
all large integers are now send as hex strings. Using sha256_str all over the place. This finally gives me successful logins. Needs a log of cleanup never the less.
Diffstat (limited to 'example/views/authenticate.erb')
-rw-r--r--example/views/authenticate.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/views/authenticate.erb b/example/views/authenticate.erb
index 7d6e39f..a6bf80d 100644
--- a/example/views/authenticate.erb
+++ b/example/views/authenticate.erb
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<% if @auth[:M2] %>
- <M><%=@auth[:M2]%></M>
+ <M><%="%x" % [@auth[:M2]]%></M>
<% end %>
<% if @auth[:error] %>
<error><%=@auth[:error]%></error>