Files
Investidor-V2/outputs/investmoz-promotor-contexto-QA-20261015/normalize-QA-MFA-envelope.php
T
nala 6a76aac80f
tests / ci (push) Canceled after 0s
versao compilada 1
2026-10-16 09:17:28 +02:00

2 lines
510 B
PHP

<?php
require __DIR__.'/boot-QA.php';$f=json_decode(file_get_contents('C:/Users/macbook/.config/investmoz/promotor-contexto-QA-20261015/fixture-private.json'),true);foreach($f['actors'] as $a)Illuminate\Support\Facades\DB::table('users')->where('id',$a['id'])->update(['two_factor_secret'=>Illuminate\Support\Facades\Crypt::encrypt($a['secret']),'two_factor_recovery_codes'=>Illuminate\Support\Facades\Crypt::encrypt('[]')]);echo 'Synthetic QA MFA envelopes use normal Fortify serialization; roles unchanged.';