start of sidebar no styling done
This commit is contained in:
parent
d1dc1b4bf0
commit
f4237afc59
7 changed files with 149 additions and 21 deletions
|
@ -41,7 +41,7 @@ if (loginForm) {
|
|||
const data = await response.json();
|
||||
|
||||
if (data.success) {
|
||||
window.location.href = "/";
|
||||
window.location.href = "/dashboard";
|
||||
} else {
|
||||
if (errorMessage) {
|
||||
errorMessage.style.display = "block";
|
||||
|
@ -92,7 +92,7 @@ if (loginForm) {
|
|||
const data = await response.json();
|
||||
|
||||
if (data.success) {
|
||||
window.location.href = "/";
|
||||
window.location.href = "/dashboard";
|
||||
} else {
|
||||
if (errorMessage) {
|
||||
errorMessage.style.display = "block";
|
||||
|
|
0
public/js/dashboard/index.js
Normal file
0
public/js/dashboard/index.js
Normal file
Loading…
Add table
Add a link
Reference in a new issue