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:
committed by
Franz Liedke
parent
1f94ffc842
commit
b2bc427b3f
@@ -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);
|
||||||
|
Reference in New Issue
Block a user