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