mirror of
https://github.com/bitwarden/browser
synced 2026-01-06 10:33:57 +00:00
[PM-3682] Remove ipcRenderer from login-approval (#6838)
This commit is contained in:
@@ -3,4 +3,11 @@ import { ipcRenderer } from "electron";
|
||||
export default {
|
||||
getHcaptchaAccessibilityCookie: (): Promise<[string]> =>
|
||||
ipcRenderer.invoke("getCookie", { url: "https://www.hcaptcha.com/", name: "hc_accessibility" }),
|
||||
|
||||
loginRequest: (alertTitle: string, alertBody: string, buttonText: string): Promise<void> =>
|
||||
ipcRenderer.invoke("loginRequest", {
|
||||
alertTitle,
|
||||
alertBody,
|
||||
buttonText,
|
||||
}),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user