diff --git a/services/web/app/views/user/settings.pug b/services/web/app/views/user/settings.pug index ef1854479d..1adf44e2e5 100644 --- a/services/web/app/views/user/settings.pug +++ b/services/web/app/views/user/settings.pug @@ -246,21 +246,13 @@ block content ng-keyup="checkValidation()" ) - div.confirmation-checkbox-wrapper - input( - type="checkbox" - ng-model="state.confirmV1Purge" - ng-change="checkValidation()" - ).pull-left - label(style="display: inline")  I have left, purged or imported my projects on Overleaf v1 (if any)   - div.confirmation-checkbox-wrapper input( type="checkbox" ng-model="state.confirmSharelatexDelete" ng-change="checkValidation()" ).pull-left - label(style="display: inline")  I understand this will delete all projects in my Overleaf v2 account (and ShareLaTeX account, if any) with email address #[em {{ userDefaultEmail }}] + label(style="display: inline")  I understand this will delete all projects in my Overleaf account with email address #[em {{ userDefaultEmail }}] div(ng-if="state.error") div.alert.alert-danger(ng-switch="state.error.code") diff --git a/services/web/frontend/js/main/account-settings.js b/services/web/frontend/js/main/account-settings.js index db6b2dff9d..948be4c4cd 100644 --- a/services/web/frontend/js/main/account-settings.js +++ b/services/web/frontend/js/main/account-settings.js @@ -59,7 +59,6 @@ App.controller('DeleteAccountModalController', function( isValid: false, deleteText: '', password: '', - confirmV1Purge: false, confirmSharelatexDelete: false, inflight: false, error: null @@ -77,7 +76,6 @@ App.controller('DeleteAccountModalController', function( $scope.state.deleteText.toLowerCase() === userDefaultEmail.toLowerCase() && $scope.state.password.length > 0 && - $scope.state.confirmV1Purge && $scope.state.confirmSharelatexDelete) $scope.delete = function() {