Skip to content

Commit 23eb5a3

Browse files
committed
fix #6868 -- don't autocomplete in account settings inside the app
1 parent 7fcc73a commit 23eb5a3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/packages/frontend/account/settings/text-setting.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ interface Props {
1919
disabled?: boolean;
2020
}
2121

22+
23+
// Note -- we disable all password manager autocomplete, since this is a component
24+
// that's used internally in the app for configuration. See https://github.com/sagemathinc/cocalc/issues/6868
25+
2226
export function TextSetting(props: Props): JSX.Element {
2327
return (
2428
<LabeledRow
@@ -33,6 +37,9 @@ export function TextSetting(props: Props): JSX.Element {
3337
onPressEnter={props.onPressEnter}
3438
maxLength={props.maxLength}
3539
disabled={props.disabled}
40+
autoComplete={"off"}
41+
data-lpignore="true"
42+
data-1p-ignore
3643
/>
3744
</LabeledRow>
3845
);

0 commit comments

Comments
 (0)