Fixedd unclosed brace

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-07-11 17:11:28 -07:00
parent 78d13871eb
commit bb091760af

View file

@ -1285,6 +1285,7 @@ class SettingsController extends Controller
\Log::debug($migrate_output);
$find_user = DB::table('users')->where('username', $user->username)->exists();
if (!$find_user){
\Log::warning('Attempting to restore user: ' . $user->username);
$new_user = $user->replicate();
@ -1300,8 +1301,7 @@ class SettingsController extends Controller
\Auth::logout();
return redirect()->route('login')->with('success', 'Your system has been restored. Please login again.');
}
} else {
return redirect()->route('settings.backups.index')->with('error', trans('admin/settings/message.backup.file_not_found'));
}