mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Merge branch 'develop' of github.com:snipe/snipe-it into develop
This commit is contained in:
commit
adc3ebee41
|
@ -176,7 +176,7 @@ class AuthController extends Controller
|
|||
$google2fa = app()->make('PragmaRX\Google2FA\Contracts\Google2FA');
|
||||
|
||||
if ($user->two_factor_secret=='') {
|
||||
$user->two_factor_secret = $google2fa->generateSecretKey();
|
||||
$user->two_factor_secret = $google2fa->generateSecretKey(32);
|
||||
$user->save();
|
||||
}
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@ class MigrateAssetLogToActionLog extends Migration
|
|||
$a->expected_checkin = $log->expected_checkin;
|
||||
$a->thread_id = $log->thread_id;
|
||||
$a->accepted_id = $log->accepted_id;
|
||||
$a->filename = $log->filename;
|
||||
|
||||
$a->save();
|
||||
|
||||
|
|
Loading…
Reference in a new issue