Republish configuration file, and edit it.

This commit is contained in:
James Cole
2019-08-03 19:49:32 +02:00
parent 7f1bd19e45
commit 0a2bc99630

View File

@@ -1,28 +1,5 @@
<?php <?php
/**
* google2fa.php
* Copyright (c) 2018 thegrumpydictator@gmail.com
*
* This file is part of Firefly III.
*
* Firefly III is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Firefly III is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
*/
declare(strict_types=1);
return [ return [
/* /*
@@ -74,12 +51,12 @@ return [
/* /*
* User's table column for google2fa secret * User's table column for google2fa secret
*/ */
'otp_secret_column' => 'google2fa_secret', 'otp_secret_column' => 'mfa_secret',
/* /*
* One Time Password View * One Time Password View
*/ */
'view' => 'google2fa.index', 'view' => 'auth.mfa',
/* /*
* One Time Password error message * One Time Password error message
@@ -88,4 +65,9 @@ return [
'wrong_otp' => "The 'One Time Password' typed was wrong.", 'wrong_otp' => "The 'One Time Password' typed was wrong.",
], ],
/*
* Throw exceptions or just fire events?
*/
'throw_exceptions' => true,
]; ];