Sidebar fully functional
This commit is contained in:
@@ -130,7 +130,7 @@ class Login extends Shadow {
|
||||
if (res.ok) {
|
||||
const { token } = await res.json();
|
||||
await Preferences.set({ key: 'auth_token', value: token });
|
||||
global.onLogin();
|
||||
global.renderHome();
|
||||
} else {
|
||||
const { error } = await res.json();
|
||||
this.errorMessage = error;
|
||||
|
||||
Reference in New Issue
Block a user