Skip to content

Can't disable Password Manager #5110

Description

@slprogrp

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

133.4.21

Operating System

Windows 11

Architecture

x64

.Net Version

4.8

Implementation

WinForms

Reproduction Steps

I am using CEFSharp in a .NET 4.8.0 WinForms project. I am unable to disable the CEF Password Manager. I have a page with a login, and I don't want the CEF Password Manager prompt the user to save the password.

I have tried setting:
cefSettings.CefCommandLineArgs.Add("enable-password-manager", "0");

and also:
requestContext.SetPreference("credentials_enable_service", false, out string error);

But neither of these worked.

Is there a workaround for this issue?

Expected behavior

The CEF Password Manager should be disabled and not appear prompting the user to save log-in details when they log-in on a web page.

Actual behavior

The CEF Password Manager is not disabled and does appear prompting the user to save log-in details when they log-in on a web page.

Regression?

I never disabled it in when I first used CEFSharp, but it never showed. Now it shows and I can't disable it.

Known Workarounds

I have not found a workaround, but I do need one.

Does this problem also occur in the CEF Sample Application

No

Other information

If I just run the cefclient.exe using the exe name with no cmd args, the issue does happen:

cefclient.exe

If I run it with the cmd args the issue does not happen:

cefclient.exe --multi-threaded-message-loop --no-sandbox --use-alloy-style

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions