mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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.state.isValid =
|
||||
userDefaultEmail != null &&
|
||||
$scope.state.deleteText === userDefaultEmail &&
|
||||
$scope.state.deleteText.toLowerCase() ===
|
||||
userDefaultEmail.toLowerCase() &&
|
||||
$scope.state.password.length > 0 &&
|
||||
$scope.state.confirmV1Purge &&
|
||||
$scope.state.confirmSharelatexDelete)
|
||||
|
|
Loading…
Reference in a new issue