move session init into utils, re-fetch session after login
[authserver.git] / authsystem.js
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3  * You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 window.onload = function() {
6   document.getElementById("jswarning").classList.add("hidden");
7   var loginForm = document.getElementById("loginform");
8   if (loginForm) {
9     loginForm.classList.remove("hidden");
10   }
11 }