Browse Source

fix(webapp): preserve exact spelling of email addresses, see #417

Peter Thomassen 4 years ago
parent
commit
22d4987fba
2 changed files with 2 additions and 2 deletions
  1. 1 1
      webapp/src/views/ResetPassword.vue
  2. 1 1
      webapp/src/views/SignUp.vue

+ 1 - 1
webapp/src/views/ResetPassword.vue

@@ -174,7 +174,7 @@
         this.errors = [];
         this.errors = [];
         try {
         try {
           await HTTP.post('auth/account/reset-password/', {
           await HTTP.post('auth/account/reset-password/', {
-            email: this.email.toLowerCase(),
+            email: this.email,
             captcha: {
             captcha: {
               id: this.captcha.id,
               id: this.captcha.id,
               solution: this.captchaSolution,
               solution: this.captchaSolution,

+ 1 - 1
webapp/src/views/SignUp.vue

@@ -243,7 +243,7 @@
         }
         }
         try {
         try {
           await HTTP.post('auth/', {
           await HTTP.post('auth/', {
-            email: this.email.toLowerCase(),
+            email: this.email,
             password: null,
             password: null,
             captcha: {
             captcha: {
               id: this.captcha.id,
               id: this.captcha.id,