1
0
mirror of https://github.com/flarum/core.git synced 2025-08-10 10:24:46 +02:00

fix: forum/components/ForgotPasswordModal (fix alert content)

This commit is contained in:
Alexander Skvortsov
2020-08-10 18:13:38 -04:00
committed by Franz Liedke
parent 1f94ffc842
commit b2bc427b3f

View File

@@ -105,7 +105,7 @@ export default class ForgotPasswordModal extends Modal {
onerror(error) { onerror(error) {
if (error.status === 404) { if (error.status === 404) {
error.alert.children = app.translator.trans('core.forum.forgot_password.not_found_message'); error.alert.content = app.translator.trans('core.forum.forgot_password.not_found_message');
} }
super.onerror(error); super.onerror(error);