Skip to content

Commit

Permalink
Beta 16
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Mar 18, 2021
1 parent 048d8ac commit c1183a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
}
],
"require": {
"flarum/core": "^0.1.0-beta.14",
"fgribreau/mailchecker": "^3.3.17"
"flarum/core": "^0.1.0-beta.16",
"fgribreau/mailchecker": "^4.0.6"
},
"authors": [
{
Expand All @@ -37,7 +37,7 @@
"extra": {
"flarum-extension": {
"title": "FoF Disposable Emails",
"category": "moderation",
"category": "feature",
"icon": {
"name": "fas fa-user-times",
"backgroundColor": "#e74c3c",
Expand Down
2 changes: 1 addition & 1 deletion extend.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

if ($email !== null && !MailChecker::isValid($email)) {
throw new ValidationException([
app('translator')->trans('fof-email-checker.error.disposable_email_message'),
resolve('translator')->trans('fof-email-checker.error.disposable_email_message'),
]);
}
}),
Expand Down

0 comments on commit c1183a2

Please sign in to comment.