summaryrefslogtreecommitdiff
path: root/example/views/signup.erb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-06-28 16:13:13 +0200
committerAzul <azul@leap.se>2012-06-28 16:13:13 +0200
commite55ff681bcc5a6c479530d1411a3da75912d78e5 (patch)
treeaca518663d05f3093520fd3b5d0449efe0b7eb84 /example/views/signup.erb
parent424c80fde151d4507cd34aaf8f116016df405c8a (diff)
complete ajax flow is working - just auth fails
Also we currently generate the salt on the server - this should happen on the client but for now i stick to the srp-js workflow.
Diffstat (limited to 'example/views/signup.erb')
-rw-r--r--example/views/signup.erb10
1 files changed, 5 insertions, 5 deletions
diff --git a/example/views/signup.erb b/example/views/signup.erb
index baeb007..6e1bbf3 100644
--- a/example/views/signup.erb
+++ b/example/views/signup.erb
@@ -4,18 +4,18 @@
<legend>Signup to test secure remote passwords</legend>
<div class="control-group">
<label class="control-label" for="login">Login</label>
- <input type="text" class"input-xlarge" name="login"></input>
+ <input type="text" class"input-xlarge" name="srp_username" id="srp_username"></input>
</div>
<div class="control-group">
<label class="control-label" for="password">Password</label>
- <input type="password" class"input-xlarge" name="password"></input>
- <input type="hidden" class"input-xlarge" name="seed" value="624848790506324805995013"></input>
- <input type="hidden" class"input-xlarge" name="verifier" value="100580140046706175735129154266794946404091486659235926309138114843862401271008476617107722147233360718775042845375531421388163398889326297385327521531575749857884877960888755227994771967905136828058233126017527751738166121598194480710839381273324624500340831193855479639683906360867824492692241079248646622455"></input>
+ <input type="password" class"input-xlarge" name="srp_password" id="srp_password"></input>
</div>
+ <input type="hidden" id="srp_url" name="srp_url" value="/"></input>
+ <input type="hidden" id="srp_server" name="srp_server" value="django"></input>
<div class="form-actions">
- <button type="submit" class="btn btn-primary">Signup</button>
+ <button type="submit" class="btn btn-primary" id="signup-btn">Signup</button>
<a href="/" class="btn">Cancel</a>
</div>
</form>