Fix passwords with spaces

This commit is contained in:
binwiederhier
2026-06-23 13:10:17 -04:00
parent 8327047b71
commit e6a201bc11
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -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: (
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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">