Should fix the tests

This commit is contained in:
James Cole
2016-03-22 17:22:48 +01:00
parent 9a8efc8a58
commit 70c8a524cd
4 changed files with 16 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ class TwoFactorController extends Controller
$secret = Preferences::get('twoFactorAuthSecret', '')->data;
if (strlen($secret) === 0) {
throw new FireflyException('Your two factor authentication secret is empty, which it should be at this point. Please check the log files.');
throw new FireflyException('Your two factor authentication secret is empty, which it cannot be at this point. Please check the log files.');
}
Session::flash('two-factor-secret', $secret);