🆙 More fixes 🆙
This commit is contained in:
1 parent
3f9e928952
commit
521f9c884c
6 files changed
+46
-30
No files matched your search
+3
-4
@@ -47,12 +47,11 @@ return new class extends Migration
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('users', function (Blueprint $table) {
|
||||
$table->dropColumn(array_merge([
|
||||
$table->dropColumn([
|
||||
'two_factor_secret',
|
||||
'two_factor_recovery_codes',
|
||||
], Fortify::confirmsTwoFactorAuthentication() ? [
|
||||
'two_factor_confirmed_at',
|
||||
] : []));
|
||||
...(Fortify::confirmsTwoFactorAuthentication() ? ['two_factor_confirmed_at'] : []),
|
||||
]);
|
||||
});
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user