mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-08 21:05:21 +00:00
Fix passwords with spaces
This commit is contained in:
@@ -66,7 +66,7 @@ const Login = () => {
|
||||
type={showPassword ? "text" : "password"}
|
||||
id="password"
|
||||
value={password}
|
||||
onChange={(ev) => setPassword(ev.target.value.trim())}
|
||||
onChange={(ev) => setPassword(ev.target.value)}
|
||||
autoComplete="current-password"
|
||||
InputProps={{
|
||||
endAdornment: (
|
||||
|
||||
@@ -71,7 +71,7 @@ const PasswordReset = () => {
|
||||
type="password"
|
||||
id="password"
|
||||
value={password}
|
||||
onChange={(ev) => setPassword(ev.target.value.trim())}
|
||||
onChange={(ev) => setPassword(ev.target.value)}
|
||||
autoComplete="new-password"
|
||||
autoFocus
|
||||
/>
|
||||
@@ -84,7 +84,7 @@ const PasswordReset = () => {
|
||||
type="password"
|
||||
id="confirm"
|
||||
value={confirm}
|
||||
onChange={(ev) => setConfirm(ev.target.value.trim())}
|
||||
onChange={(ev) => setConfirm(ev.target.value)}
|
||||
autoComplete="new-password"
|
||||
/>
|
||||
<Button
|
||||
|
||||
@@ -87,7 +87,7 @@ const Signup = () => {
|
||||
id="password"
|
||||
autoComplete="new-password"
|
||||
value={password}
|
||||
onChange={(ev) => setPassword(ev.target.value.trim())}
|
||||
onChange={(ev) => setPassword(ev.target.value)}
|
||||
InputProps={{
|
||||
endAdornment: (
|
||||
<InputAdornment position="end">
|
||||
@@ -113,7 +113,7 @@ const Signup = () => {
|
||||
id="confirm"
|
||||
autoComplete="new-password"
|
||||
value={confirm}
|
||||
onChange={(ev) => setConfirm(ev.target.value.trim())}
|
||||
onChange={(ev) => setConfirm(ev.target.value)}
|
||||
InputProps={{
|
||||
endAdornment: (
|
||||
<InputAdornment position="end">
|
||||
|
||||
Reference in New Issue
Block a user