Initial commit
This commit is contained in:
14
wwwroot/scripts/js/dredgepos.authenticate.js
Normal file
14
wwwroot/scripts/js/dredgepos.authenticate.js
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user