clarion 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/public/register.js +1 -1
- data/lib/clarion/app.rb +1 -1
- data/lib/clarion/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5249d0149fd5e04b1a474b7bd2d39f122966513e6be736cb2028435c7d655b5
|
4
|
+
data.tar.gz: 41112a12351bd0e74f0ed2153c31b2d19f067e2f39650d23a7e87b7d3c7ea40a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29f9d9de7234dc3e0080e2d2dc355b6f94c5c8f233ed4520f1bd5aa239e9ab17fbc8b1a480d9386e00eec748296a6af9101e68dc740d450e194cb77550196042
|
7
|
+
data.tar.gz: e0bd803dfc4491dd8028413359def1ecaa854385018b490df4d4379cc3730a031127e12aee1898a012ed469549e6f5caf7b660b52dc0fb33047fcb55e24524ca
|
data/app/public/register.js
CHANGED
@@ -28,7 +28,7 @@ document.addEventListener("DOMContentLoaded", function() {
|
|
28
28
|
processionElem.className = 'procession_error';
|
29
29
|
return;
|
30
30
|
}
|
31
|
-
window.opener.postMessage({clarion_key: {state: state, data: json.encrypted_key}}, callbackUrl.slice(3));
|
31
|
+
window.opener.postMessage({clarion_key: {state: state, name: json.name, data: json.encrypted_key}}, callbackUrl.slice(3));
|
32
32
|
window.close();
|
33
33
|
} else {
|
34
34
|
let form = document.getElementById("callback_form");
|
data/lib/clarion/app.rb
CHANGED
@@ -170,7 +170,7 @@ module Clarion
|
|
170
170
|
|
171
171
|
session[:regis].reject! { |_| _[:id] == data[:reg_id] }
|
172
172
|
|
173
|
-
{ok: true, encrypted_key: key.to_encrypted_json(public_key, :all)}.to_json
|
173
|
+
{ok: true, name: key.name, encrypted_key: key.to_encrypted_json(public_key, :all)}.to_json
|
174
174
|
end
|
175
175
|
|
176
176
|
post '/ui/verify/:id' do
|
data/lib/clarion/version.rb
CHANGED