Files
DredgePos/wwwroot/scripts/js/dredgepos.authenticate.js
2021-11-11 17:56:20 +10:00

12 lines
374 B
JavaScript

let showLoginBox = () => showVirtualNumpad('Enter Login Code', 6, true, false, false, authenticate);
let authenticate = (input) => {
let login = ajaxSync('/ajax/authenticateClerk', input);
if (login === 'success')
redirect('/floorplan');
else
showLoginBox();
};
$(() => {
showLoginBox();
});
//# sourceMappingURL=dredgepos.authenticate.js.map