(Update) Multi-lang translation

Added fields
This commit is contained in:
Morgan Wong
2019-04-30 20:11:47 +08:00
committed by GitHub
parent 333a7aecf9
commit 7e6a6202dd
@@ -41,10 +41,10 @@ class ActivationController extends Controller
$activation->delete();
return redirect()->route('login')
->withSuccess('Account Confirmed! You May Now Login!');
->withSuccess(trans('auth.activation-success'));
} else {
return redirect()->route('login')
->withErrors('Banned or Invalid Token Or Account Already Confirmed!');
->withErrors(trans('auth.activation-error'));
}
}
}