Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions static/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ <h2>Create your account</h2>
<button onclick='createAccount()'>Create account</button>
</div>

<form id="cert" method="POST" action='/accounts/cert' target="spkacResult" style="display: none">
<form id="cert" method="POST" action='/api/accounts/cert' target="spkacResult" style="display: none">
<h2>Finish by issuing credentials in the form of a certificate</h2>
<keygen name="spkac" keytype="rsa" hidden>
<keygen name="spkac" keytype="rsa" hidden />
<iframe id="spkacResult" name="spkacResult" sandbox="allow-same-origin allow-forms" hidden></iframe>
<input type="hidden" id="webid" name="webid" value="">
<p>Your WebID is: <span id="your-webid"></span></p>
Expand All @@ -60,7 +60,7 @@ <h2>Finish by issuing credentials in the form of a certificate</h2>
<script type="text/javascript">
function createAccount () {
var email = document.getElementById('email').value
var url = '/accounts/new'
var url = '/api/accounts/new'
var data = 'email=' + email

var http = new XMLHttpRequest()
Expand Down Expand Up @@ -105,4 +105,4 @@ <h2>Finish by issuing credentials in the form of a certificate</h2>

</script>
</body>
</html>
</html>