summaryrefslogtreecommitdiff
path: root/www/js/auth.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/auth.js')
-rw-r--r--www/js/auth.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/www/js/auth.js b/www/js/auth.js
index 29dde31..b01eb7d 100644
--- a/www/js/auth.js
+++ b/www/js/auth.js
@@ -29,8 +29,7 @@ function auth_loginError(req, status, error) {
$("#password").val('');
}
-function auth_login()
-{
+function auth_login() {
$.ajax("/authtoken.json",
{ cache: false,
username: $("#username").val(),
@@ -41,8 +40,7 @@ function auth_login()
});
}
-function auth_logout()
-{
+function auth_logout() {
auth_cleanup();
apps_cleanup();