aboutsummaryrefslogtreecommitdiff
path: root/public/js/auth.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/auth.js')
-rw-r--r--public/js/auth.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/public/js/auth.js b/public/js/auth.js
index ecc7c7c..1ae9e4d 100644
--- a/public/js/auth.js
+++ b/public/js/auth.js
@@ -27,7 +27,7 @@ page.do = function(dest){
return swal('An error ocurred', 'There was an error with the request, please check the console for more information.', 'error');
console.log(error);
});
-}
+};
page.verify = function(){
page.token = localStorage.token;
@@ -49,8 +49,8 @@ page.verify = function(){
console.log(error);
});
-}
+};
window.onload = function () {
page.verify();
-} \ No newline at end of file
+}; \ No newline at end of file