mirror of
https://github.com/friendica/friendica
synced 2025-04-26 12:30:11 +00:00
Added parameters
This commit is contained in:
parent
abe6724629
commit
bd62d548db
84 changed files with 172 additions and 177 deletions
|
@ -24,7 +24,7 @@ use PragmaRX\Google2FA\Google2FA;
|
|||
*/
|
||||
class Verify extends BaseSettingsModule
|
||||
{
|
||||
public static function init()
|
||||
public static function init($parameters)
|
||||
{
|
||||
if (!local_user()) {
|
||||
return;
|
||||
|
@ -43,7 +43,7 @@ class Verify extends BaseSettingsModule
|
|||
}
|
||||
}
|
||||
|
||||
public static function post()
|
||||
public static function post($parameters)
|
||||
{
|
||||
if (!local_user()) {
|
||||
return;
|
||||
|
@ -69,13 +69,13 @@ class Verify extends BaseSettingsModule
|
|||
}
|
||||
}
|
||||
|
||||
public static function content()
|
||||
public static function content($parameters)
|
||||
{
|
||||
if (!local_user()) {
|
||||
return Login::form('settings/2fa/verify');
|
||||
}
|
||||
|
||||
parent::content();
|
||||
parent::content($parameters);
|
||||
|
||||
$company = 'Friendica';
|
||||
$holder = Session::get('my_address');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue