mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 17:23:48 -05:00
Merge pull request #1335 from sharelatex/spd-account-delete-email
Make email check on account deletion modal case-insensitive GitOrigin-RevId: 3dd80e9390e069b5c2f30632e61dc8c4bc39d9ad
This commit is contained in:
parent
7807435c2d
commit
97d6f81d7c
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ define(['base'], function(App) {
|
||||||
$scope.checkValidation = () =>
|
$scope.checkValidation = () =>
|
||||||
($scope.state.isValid =
|
($scope.state.isValid =
|
||||||
userDefaultEmail != null &&
|
userDefaultEmail != null &&
|
||||||
$scope.state.deleteText === userDefaultEmail &&
|
$scope.state.deleteText.toLowerCase() ===
|
||||||
|
userDefaultEmail.toLowerCase() &&
|
||||||
$scope.state.password.length > 0 &&
|
$scope.state.password.length > 0 &&
|
||||||
$scope.state.confirmV1Purge &&
|
$scope.state.confirmV1Purge &&
|
||||||
$scope.state.confirmSharelatexDelete)
|
$scope.state.confirmSharelatexDelete)
|
||||||
|
|
Loading…
Reference in a new issue