mirror of
https://github.com/wassname/talk.git
synced 2026-08-19 12:40:16 +08:00
[CORL-445] Change Password (#2426)
* fix: reversed `new-password` autocomplete option * feat: initial implementation * fix: localization and testing * fix: updated snapshot
This commit is contained in:
@@ -32,7 +32,6 @@ const ClientSecretField: FunctionComponent<Props> = ({
|
||||
<>
|
||||
<PasswordField
|
||||
disabled={disabled || meta.submitting}
|
||||
autoComplete="new-password"
|
||||
// TODO: (wyattjoh) figure out how to add translations to these props
|
||||
hidePasswordTitle="Show Client Secret"
|
||||
showPasswordTitle="Hide Client Secret"
|
||||
|
||||
@@ -145,7 +145,6 @@ const SMTP: FunctionComponent<Props> = ({ disabled }) => (
|
||||
<>
|
||||
<PasswordField
|
||||
id={input.name}
|
||||
autoComplete="new-password"
|
||||
disabled={disabled || !enabled}
|
||||
fullWidth
|
||||
color={colorFromMeta(meta)}
|
||||
|
||||
@@ -32,7 +32,6 @@ const APIKeyField: FunctionComponent<Props> = ({
|
||||
<PasswordField
|
||||
id={`configure-moderation-${input.name}`}
|
||||
disabled={disabled}
|
||||
autoComplete="new-password"
|
||||
// TODO: (wyattjoh) figure out how to add translations to these props
|
||||
hidePasswordTitle="Show API Key"
|
||||
showPasswordTitle="Hide API Key"
|
||||
|
||||
@@ -193,7 +193,7 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="new-password"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={true}
|
||||
@@ -638,7 +638,7 @@ For more information visit:
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="new-password"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={false}
|
||||
@@ -978,7 +978,7 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="new-password"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={false}
|
||||
@@ -1480,7 +1480,7 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="new-password"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={false}
|
||||
@@ -2409,7 +2409,7 @@ needs to be displayed, e.g. “Log in with <Facebook>”.
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="new-password"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={true}
|
||||
@@ -3098,7 +3098,7 @@ to create and set up a web application. For more information visit:
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="new-password"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={true}
|
||||
@@ -3404,7 +3404,7 @@ For more information visit:
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="new-password"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={true}
|
||||
|
||||
@@ -521,7 +521,7 @@ improve the API over time.
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="new-password"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={false}
|
||||
@@ -712,7 +712,7 @@ in your Akismet account:
|
||||
>
|
||||
<input
|
||||
autoCapitalize="off"
|
||||
autoComplete="new-password"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="PasswordField-colorRegular PasswordField-input"
|
||||
disabled={false}
|
||||
|
||||
Reference in New Issue
Block a user