mirror of
https://github.com/flarum/core.git
synced 2025-02-24 11:13:40 +01: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>
|
<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…
x
Reference in New Issue
Block a user