Wait for user to log in to nextcloud

This commit is contained in:
Manuel Thalmann 2023-06-30 13:18:12 +02:00
parent ed2cac87ca
commit aee240eefa

View file

@ -8,7 +8,7 @@ $null = New-Module {
while (-not (Test-Path $context.GetNextcloudConfigFile())) { while (-not (Test-Path $context.GetNextcloudConfigFile())) {
Write-Host "Nextcloud has been installed!"; Write-Host "Nextcloud has been installed!";
Write-Host "Please log in in the Nextcloud app to continue."; Read-Host "Please log in in the Nextcloud app and hit enter to continue";
if (-not (Test-Path $context.GetNextcloudConfigFile())) { if (-not (Test-Path $context.GetNextcloudConfigFile())) {
Write-Error "The login seems to have failed. Please try again."; Write-Error "The login seems to have failed. Please try again.";