Skip to content

Commit 4e6beeb

Browse files
Merge pull request #1115 from rocket-admin/fixes
login: check if saas when checking custom domain
2 parents 9dab4b4 + f21a581 commit 4e6beeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/app/components/login/login.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class LoginComponent implements OnInit, AfterViewInit {
7171
ngOnInit(): void {
7272
const domain = window.location.hostname;
7373

74-
if (domain !== 'app.rocketadmin.com' && domain !== 'localhost') {
74+
if (domain !== 'app.rocketadmin.com' && domain !== 'localhost' && this.isSaas) {
7575
this.isCustomDomain = true;
7676
}
7777

0 commit comments

Comments
 (0)