Merge pull request #510 from vikingnope/fix-password-label

fix: Removed colon from password label to match username label
This commit is contained in:
Prayag Prajapati authored and GitHub committed 2025-04-25 22:41:49 +05:30
commit 790f3f163b
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -155,12 +155,12 @@ function LoginUser() {
width: "100%", width: "100%",
}} }}
> >
<InputLabel htmlFor="user-password">Password:</InputLabel> <InputLabel htmlFor="user-password">Password</InputLabel>
<OutlinedInput <OutlinedInput
id="user-password" id="user-password"
type={password.showpass ? "text" : "password"} type={password.showpass ? "text" : "password"}
onChange={handlePassword("password")} onChange={handlePassword("password")}
label="Password:" label="Password"
endAdornment={ endAdornment={
<InputAdornment position="end"> <InputAdornment position="end">
<IconButton <IconButton
+2 -2
View File
@@ -144,13 +144,13 @@ function UserLoginManual() {
onChange={(e) => setUsername(e.currentTarget.value)} onChange={(e) => setUsername(e.currentTarget.value)}
/> />
<FormControl sx={{ width: "100%" }} variant="outlined"> <FormControl sx={{ width: "100%" }} variant="outlined">
<InputLabel htmlFor="user-password">Password:</InputLabel> <InputLabel htmlFor="user-password">Password</InputLabel>
<OutlinedInput <OutlinedInput
fullWidth fullWidth
id="user-password" id="user-password"
type={password.showpass ? "text" : "password"} type={password.showpass ? "text" : "password"}
onChange={handlePassword("password")} onChange={handlePassword("password")}
label="Password:" label="Password"
endAdornment={ endAdornment={
<InputAdornment position="end"> <InputAdornment position="end">
<IconButton <IconButton