diff --git a/index.html b/index.html
index a2dccb8..a26e315 100644
--- a/index.html
+++ b/index.html
@@ -69,7 +69,7 @@
Remember this device.
-
+
diff --git a/js/issuer.js b/js/issuer.js
index 0e8b6ed..e583dd9 100644
--- a/js/issuer.js
+++ b/js/issuer.js
@@ -365,7 +365,13 @@ $(function () {
function handleAuthorizationDialog() {
return getSession(CONFIG.host).then(function (session) {
return getGrants(session);
- }).catch(function () {
+ }).catch(function (e) {
+ if(e) {
+ console.error(
+ "Error authing current session. Requiring re-login. Message: "
+ , e.message
+ );
+ }
// TODO select the providers the client wants to show
// providers=daplie.com,facebook.com,google.com // etc
// TODO let the client specify switch_user
diff --git a/js/script.js b/js/script.js
index 3a39100..5eb31a2 100644
--- a/js/script.js
+++ b/js/script.js
@@ -40,21 +40,18 @@ $('body').on('click', '.js-remember-label', function (ev) {
var $this = $(this);
if ($this.find('.js-remember-checkbox').is(':checked') === true) {
$this.find('.js-remember-checkbox').prop( "checked", false );
+ $this.find('.js-remember-status').attr("src", "./img/unpressed-check.png");
} else {
$this.find('.js-remember-checkbox').prop( "checked", true );
+ $this.find('.js-remember-status').attr("src", "./img/pressed-check.png");
}
});
-$('body').on('click', '.check', function () {
- 'use strict';
-});
-
$('body').on('click', '.js-auth-li-enabled', function (ev) {
'use strict';
ev.preventDefault();
ev.stopPropagation();
-
var $this = $(this);
var $hiddenCheckbox = $this.find('.js-auth-checkbox');
var $img = $this.find('.check');