We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92a5a59 commit c19df48Copy full SHA for c19df48
src/login.ts
@@ -49,9 +49,11 @@ export class Login {
49
if (opts.expiresIn) {
50
// can't use browser with --expires-in
51
input = 'interactive'
52
+ } else if (process.env.HEROKU_LEGACY_SSO === '1') {
53
+ input = 'sso'
54
} else {
55
await ux.anykey(`heroku: Press any key to open up the browser to login or ${color.yellow('q')} to exit`)
- input = process.env.HEROKU_LEGACY_SSO === '1' ? 'sso' : 'browser'
56
+ input = 'browser'
57
}
58
59
try {
0 commit comments