/usr/share/lemonldap-ng/portal-skins/common/js/browserid.js is in liblemonldap-ng-portal-perl 1.9.16-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | /* Watch login and logout events */
navigator.id.watch({
loggedInUser: null,
onlogin: function(assertion) {
// POST assertion
$('form.BrowserID').append('<input type="hidden" name="browserIdAssertion" value="' + assertion + '" />').submit();
},
onlogout: function() {
// Do nothing
}
});
|