File tree Expand file tree Collapse file tree 8 files changed +9
-12
lines changed
Expand file tree Collapse file tree 8 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ export const useConnector = createSharedComposable(function useConnector() {
307307 method : 'POST' ,
308308 body : {
309309 otp,
310- interactive : settings . value . connector . webAuth ,
310+ interactive : ! otp ,
311311 openUrls : settings . value . connector . autoOpenURL ,
312312 } ,
313313 } )
Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ export interface AppSettings {
3131 searchProvider : SearchProvider
3232 /** Connector preferences */
3333 connector : {
34- /** Use web-based authentication instead of CLI token */
35- webAuth : boolean
3634 /** Automatically open the web auth page in the browser */
3735 autoOpenURL : boolean
3836 }
@@ -50,7 +48,6 @@ const DEFAULT_SETTINGS: AppSettings = {
5048 preferredBackgroundTheme : null ,
5149 searchProvider : import . meta. test ? 'npm' : 'algolia' ,
5250 connector : {
53- webAuth : false ,
5451 autoOpenURL : false ,
5552 } ,
5653 sidebar : {
Original file line number Diff line number Diff line change 125125 "end_of_results" : " End of results" ,
126126 "try_again" : " Try again" ,
127127 "close" : " Close" ,
128+ "or" : " or" ,
128129 "retry" : " Retry" ,
129130 "copy" : " copy" ,
130131 "copied" : " copied!" ,
472473 "warning_text" : " This allows npmx to access your npm CLI. Only connect to sites you trust." ,
473474 "connect" : " Connect" ,
474475 "connecting" : " Connecting..." ,
475- "web_auth" : " Use web authentication" ,
476476 "auto_open_url" : " Automatically open auth page"
477477 }
478478 },
Original file line number Diff line number Diff line change 125125 "end_of_results" : " Koniec wyników" ,
126126 "try_again" : " Spróbuj ponownie" ,
127127 "close" : " Zamknij" ,
128+ "or" : " lub" ,
128129 "retry" : " Ponów" ,
129130 "copy" : " kopiuj" ,
130131 "copied" : " skopiowano!" ,
462463 "warning_text" : " To pozwala npmx uzyskać dostęp do twojego npm CLI. Łącz się tylko ze stronami, którym ufasz." ,
463464 "connect" : " Połącz" ,
464465 "connecting" : " Łączenie..." ,
465- "web_auth" : " Używaj autoryzacji w przeglądarce" ,
466466 "auto_open_url" : " Automatycznie otwórz stronę z autoryzacją"
467467 }
468468 },
Original file line number Diff line number Diff line change 379379 "close" : {
380380 "type" : " string"
381381 },
382+ "or" : {
383+ "type" : " string"
384+ },
382385 "retry" : {
383386 "type" : " string"
384387 },
14201423 "connecting" : {
14211424 "type" : " string"
14221425 },
1423- "web_auth" : {
1424- "type" : " string"
1425- },
14261426 "auto_open_url" : {
14271427 "type" : " string"
14281428 }
Original file line number Diff line number Diff line change 124124 "end_of_results" : " End of results" ,
125125 "try_again" : " Try again" ,
126126 "close" : " Close" ,
127+ "or" : " or" ,
127128 "retry" : " Retry" ,
128129 "copy" : " copy" ,
129130 "copied" : " copied!" ,
471472 "warning_text" : " This allows npmx to access your npm CLI. Only connect to sites you trust." ,
472473 "connect" : " Connect" ,
473474 "connecting" : " Connecting..." ,
474- "web_auth" : " Use web authentication" ,
475475 "auto_open_url" : " Automatically open auth page"
476476 }
477477 },
Original file line number Diff line number Diff line change 124124 "end_of_results" : " End of results" ,
125125 "try_again" : " Try again" ,
126126 "close" : " Close" ,
127+ "or" : " or" ,
127128 "retry" : " Retry" ,
128129 "copy" : " copy" ,
129130 "copied" : " copied!" ,
471472 "warning_text" : " This allows npmx to access your npm CLI. Only connect to sites you trust." ,
472473 "connect" : " Connect" ,
473474 "connecting" : " Connecting..." ,
474- "web_auth" : " Use web authentication" ,
475475 "auto_open_url" : " Automatically open auth page"
476476 }
477477 },
Original file line number Diff line number Diff line change 124124 "end_of_results" : " Koniec wyników" ,
125125 "try_again" : " Spróbuj ponownie" ,
126126 "close" : " Zamknij" ,
127+ "or" : " lub" ,
127128 "retry" : " Ponów" ,
128129 "copy" : " kopiuj" ,
129130 "copied" : " skopiowano!" ,
461462 "warning_text" : " To pozwala npmx uzyskać dostęp do twojego npm CLI. Łącz się tylko ze stronami, którym ufasz." ,
462463 "connect" : " Połącz" ,
463464 "connecting" : " Łączenie..." ,
464- "web_auth" : " Używaj autoryzacji w przeglądarce" ,
465465 "auto_open_url" : " Automatycznie otwórz stronę z autoryzacją"
466466 }
467467 },
You can’t perform that action at this time.
0 commit comments