Mass UI Updates
This commit is contained in:
+2
-2
@@ -18,7 +18,7 @@ async function login(email, password) {
|
||||
*/
|
||||
function logout() {
|
||||
pb.authStore.clear();
|
||||
window.location.href = 'index.html';
|
||||
window.location.href = 'index';
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -26,7 +26,7 @@ function logout() {
|
||||
*/
|
||||
function checkAuth() {
|
||||
if (!pb.authStore.isValid) {
|
||||
window.location.href = 'index.html';
|
||||
window.location.href = 'index';
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user