|
|
@@ -77,7 +77,7 @@ class Login extends Component {
|
|
|
if (auth.data.user.role.id === 2022) {
|
|
|
await createLog(auth.data.token, { aktivitas: "PT berhasil Login", menu: "Pelaporan", _csrf: _csrf });
|
|
|
return location.href = '/pt/pemantauan';
|
|
|
- } else if ([2020, 2021, 2023, 2024].includes(auth.data.user.role.id)) {
|
|
|
+ } else if ([2020, 2021, 2023, 2071].includes(auth.data.user.role.id)) {
|
|
|
await createLog(auth.data.token, { aktivitas: "Berhasil Login", menu: "Pelaporan", _csrf: _csrf });
|
|
|
return location.href = '/app/pemantauan';
|
|
|
} else {
|