Commit c9dc5fde authored by's avatar
Browse files

encoding, always normalize

parent d7795e08
......@@ -4,6 +4,7 @@
<title>IRMA web frontend example</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="node_modules/@privacybydesign/irma-frontend/dist/irma.js"></script>
<script type="text/javascript" src="pop.js"></script>
......@@ -9,7 +9,9 @@ function pop_normalize(raw){
//calls irma server specified in url
//to sign the message, using the (disclosed) attribute name
function pop_sign(url, attribute, normalized_message){
function pop_sign(url, attribute, message){
let normalized_message = pop_normalize(message);
let options = {
// Developer options
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment