Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4400

Signup: Invalid parameter value if username contains spaces

    XMLWordPrintable

Details

    Description

      If user tries to create one account with username with spaces it's breaks all

       

      Maybe fix can be 

       
      username: this.signupForm.value.username.trim().toLowerCase(),

      to -->
      username: this.signupForm.value.username.trim().toLowerCase().split(' ').join(''),

      In the file --> src/core/features/login/pages/email-signup/email-signup.ts

      EDIT: This issue seems to affect the "Lost password" form too.

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              kenelope Kene lope
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: