Add field for custom wiki username in database

This commit is contained in:
2022-04-28 21:11:56 +00:00
parent 7d85e96b49
commit c2f9295585
4 changed files with 15 additions and 2 deletions
+6 -1
View File
@@ -250,8 +250,13 @@ export function AccountForm(props) {
{...makeProps('emergency_contact_phone')}
/>
{member.mediawiki_username && <div className='field'>
<label>Custom Wiki Username</label>
<p>{member.mediawiki_username}</p>
</div>}
{member.discourse_username && <Form.Input
label='Forum Username'
label='Custom Forum Username'
autoComplete='off'
{...makeProps('discourse_username')}
/>}