mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
* Handle change in saml VM name * fix lint problem * Update login_page.ts * Fix tslint Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
599a8436e1
commit
18e06ad1c1
1 changed files with 2 additions and 4 deletions
|
@ -48,10 +48,8 @@ export function LoginPageProvider({ getService }: FtrProviderContext) {
|
|||
|
||||
class LoginPage {
|
||||
async login(user: string, pwd: string) {
|
||||
if (
|
||||
process.env.VM === 'ubuntu18_deb_oidc' ||
|
||||
process.env.VM === 'ubuntu16_deb_desktop_saml'
|
||||
) {
|
||||
const loginType = process.env.VM || '';
|
||||
if (loginType.includes('oidc') || loginType.includes('saml')) {
|
||||
await samlLogin(user, pwd);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue