Bug 9587 : Handling mismatched emails better
[koha.git] / koha-tmpl / opac-tmpl / prog / en / includes / opac-bottom.inc
index b875028..78c8bd3 100644 (file)
@@ -72,7 +72,10 @@ navigator.id.watch({
             function (data) {
                 window.location = '/cgi-bin/koha/opac-user.pl';
             }
-        );
+        )
+        .fail(function() { var errstr = _("Could not login, perhaps your Persona email does not match your Koha one");
+            alert(errstr);
+        });
     },
     onlogout: function () {
         window.location = '/cgi-bin/koha/opac-main.pl?logout.x=1';