mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 10:32:44 +08:00
fixes #1686, unable to edit user password
This commit is contained in:
parent
1b2d4f1e1d
commit
c67fb2d4b6
|
@ -77,7 +77,7 @@ export default class EditUserModal extends Modal {
|
|||
<label>{app.translator.trans('core.forum.edit_user.password_heading')}</label>
|
||||
<div>
|
||||
<label className="checkbox">
|
||||
<input type="checkbox" checked={this.setPassword()} onChange={e => {
|
||||
<input type="checkbox" value={this.setPassword()} onchange={e => {
|
||||
this.setPassword(e.target.checked);
|
||||
m.redraw(true);
|
||||
if (e.target.checked) this.$('[name=password]').select();
|
||||
|
|
Loading…
Reference in New Issue
Block a user