Misc login page fixes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Garrett Mills 2021-02-22 13:46:18 -06:00
parent 280e39eb37
commit 4f14a40994
Signed by: garrettmills
GPG Key ID: D2BF5FBA8298F246
4 changed files with 8 additions and 2 deletions

View File

@ -2,4 +2,8 @@
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
button {
background: rgba(0,0,0,0);
}

View File

@ -50,7 +50,7 @@ export class LoginPage implements OnInit {
public readonly navService: NavigationService, public readonly navService: NavigationService,
public readonly auth: AuthService, public readonly auth: AuthService,
) { ) {
this.coreidUrl = this.api._build_url('/auth/starship_coreid/login', '/'); this.coreidUrl = this.api._build_url(environment.starshipUrl, '/');
} }
ngOnInit() {} ngOnInit() {}

View File

@ -5,5 +5,6 @@ export const environment = {
statUrl: '/stat?ngsw-bypass', statUrl: '/stat?ngsw-bypass',
versionUrl: '/i/version.html?ngsw-bypass', versionUrl: '/i/version.html?ngsw-bypass',
logoUrl: '/i/assets/icon/logo_lines.svg', logoUrl: '/i/assets/icon/logo_lines.svg',
starshipUrl: '/auth/starship_oauth/login',
outputDebug: false, outputDebug: false,
}; };

View File

@ -9,6 +9,7 @@ export const environment = {
statUrl: '/link_api/stat?ngsw-bypass', statUrl: '/link_api/stat?ngsw-bypass',
versionUrl: '/link_api/assets/version.html?ngsw-bypass', versionUrl: '/link_api/assets/version.html?ngsw-bypass',
logoUrl: '/assets/icon/logo_lines.svg', logoUrl: '/assets/icon/logo_lines.svg',
starshipUrl: '/link_api/auth/starship_oauth/login',
outputDebug: true, outputDebug: true,
}; };