-login guard
All checks were successful
Build Docker Image / Preparing Dependecies (push) Successful in 4s
All checks were successful
Build Docker Image / Preparing Dependecies (push) Successful in 4s
-caching -budget
This commit is contained in:
@@ -57,7 +57,7 @@ export class LoginContentComponent implements OnInit {
|
||||
if (result.code === '200' && result.data?.token) {
|
||||
this.generalService.trowApi(result);
|
||||
localStorage.setItem('access_token', result.data.token);
|
||||
this.router.navigate(['main/dashboard']);
|
||||
this.router.navigate(['main']);
|
||||
} else {
|
||||
const errorMessage = result.message_th || result.message || 'Sign-in failed.';
|
||||
if (this.loginPageComponent) {
|
||||
|
||||
Reference in New Issue
Block a user