fixes #1686, unable to edit user password

This commit is contained in:
Daniël Klabbers 2019-01-16 09:58:22 +01:00
parent 1b2d4f1e1d
commit c67fb2d4b6

View File

@ -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();