minor text update on user manager forms
This commit is contained in:
@@ -319,8 +319,8 @@ function UserForm({ user, userPass, allUserGroups, onDone, onCancel, isMobile, o
|
|||||||
<div style={{ marginBottom:16 }}>
|
<div style={{ marginBottom:16 }}>
|
||||||
{lbl('Password',
|
{lbl('Password',
|
||||||
isEdit && pwEnabled,
|
isEdit && pwEnabled,
|
||||||
isEdit && !pwEnabled ? '(not changing — click Reset Password to set a new one)' :
|
isEdit && !pwEnabled ? '(click Reset button to change)' :
|
||||||
!isEdit ? `(optional — blank uses system default)` : null
|
!isEdit ? <>(optional — blank uses <strong>{userPass}</strong> as default)</> : null
|
||||||
)}
|
)}
|
||||||
<div style={{ opacity: pwEnabled ? 1 : 0.55 }}>
|
<div style={{ opacity: pwEnabled ? 1 : 0.55 }}>
|
||||||
<PasswordInput
|
<PasswordInput
|
||||||
@@ -657,6 +657,7 @@ export default function UserManagerPage({ isMobile = false, onProfile, onHelp, o
|
|||||||
{isFormView && (
|
{isFormView && (
|
||||||
<div style={{ flex:1, overflowY:'auto', padding:16, paddingBottom: isMobile ? 'calc(82px + env(safe-area-inset-bottom, 0px))' : 16, overscrollBehavior:'contain' }}>
|
<div style={{ flex:1, overflowY:'auto', padding:16, paddingBottom: isMobile ? 'calc(82px + env(safe-area-inset-bottom, 0px))' : 16, overscrollBehavior:'contain' }}>
|
||||||
<UserForm
|
<UserForm
|
||||||
|
key={view === 'edit' ? editUser?.id : 'new'}
|
||||||
user={view === 'edit' ? editUser : null}
|
user={view === 'edit' ? editUser : null}
|
||||||
userPass={userPass}
|
userPass={userPass}
|
||||||
allUserGroups={allUserGroups}
|
allUserGroups={allUserGroups}
|
||||||
|
|||||||
Reference in New Issue
Block a user