Fix build error: replace stale h.username ref with h.email; v2.0.9
Publish Container / docker (push) Successful in 13m30s
Publish Container / docker (push) Successful in 13m30s
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
684181c34c
commit
f5c5281684
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "siteforge",
|
"name": "siteforge",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "2.0.8",
|
"version": "2.0.9",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
+1
-1
@@ -1241,7 +1241,7 @@ function NuggetsUploadPortalAdmin() {
|
|||||||
|
|
||||||
{resetId && (
|
{resetId && (
|
||||||
<form onSubmit={resetPassword} style={{ background: 'var(--color-surface-alt, #f7f5f0)', border: '1px solid var(--color-border, #e5e0d5)', borderRadius: 8, padding: '1rem', marginBottom: '1.5rem' }}>
|
<form onSubmit={resetPassword} style={{ background: 'var(--color-surface-alt, #f7f5f0)', border: '1px solid var(--color-border, #e5e0d5)', borderRadius: 8, padding: '1rem', marginBottom: '1.5rem' }}>
|
||||||
<p style={{ fontWeight: 600, marginBottom: 8 }}>Reset password for {hosts.find(h => h.id === resetId)?.username}</p>
|
<p style={{ fontWeight: 600, marginBottom: 8 }}>Reset password for {hosts.find(h => h.id === resetId)?.email}</p>
|
||||||
<div style={{ display: 'flex', gap: 8, alignItems: 'flex-end', flexWrap: 'wrap' }}>
|
<div style={{ display: 'flex', gap: 8, alignItems: 'flex-end', flexWrap: 'wrap' }}>
|
||||||
<div className="admin-field" style={{ flex: '1 1 200px' }}>
|
<div className="admin-field" style={{ flex: '1 1 200px' }}>
|
||||||
<label>New Password (min 8 chars)</label>
|
<label>New Password (min 8 chars)</label>
|
||||||
|
|||||||
Reference in new issue
Block a user