1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 14:23:32 +00:00

Open prompt for login in tab instead of popout

This commit is contained in:
Daniel James Smith
2021-10-08 15:26:39 +02:00
parent d8bfb5a029
commit f56a9146be

View File

@@ -98,6 +98,7 @@ export default class RuntimeBackground {
await this.main.openPopup(); await this.main.openPopup();
break; break;
case 'promptForLogin': case 'promptForLogin':
await BrowserApi.createNewTab('popup/index.html?uilocation=popout', true, true);
break; break;
case 'showDialogResolve': case 'showDialogResolve':
this.platformUtilsService.resolveDialogPromise(msg.dialogId, msg.confirmed); this.platformUtilsService.resolveDialogPromise(msg.dialogId, msg.confirmed);