diff --git a/.gitignore b/.gitignore index 4d316653..ba9a0d96 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ MYMETA.json MYMETA.yml .tags .remote-sync.json +.vscode \ No newline at end of file diff --git a/lib/NGCP/Schema/Result/admins.pm b/lib/NGCP/Schema/Result/admins.pm index a45f770d..01cf3a50 100644 --- a/lib/NGCP/Schema/Result/admins.pm +++ b/lib/NGCP/Schema/Result/admins.pm @@ -97,6 +97,16 @@ __PACKAGE__->add_columns( extra => { list => ["local", "ldap"] }, is_nullable => 0, }, + "enable_2fa", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "show_otp_registration_info", + { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "otp_secret", + { + data_type => "char", + is_nullable => 1, + size => 32, + }, ); __PACKAGE__->set_primary_key("id");