Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-79769

Login Page - Add ability to show password in plain text

XMLWordPrintable

    • MOODLE_404_STABLE
    • MOODLE_404_STABLE
    • MDL-79769-master
    • Hide

      Automated testing

      New tests added to auth/tests/behat/loginform.feature

      Manual testing

      1. Log in as Admin
      2. Go to Site admin -> Plugins -> Manage authentication
      3. CONFIRM there is a new setting called 'loginpasswordtoggle'
      4. CONFIRM that 'Small screens only' is the default.
      5. Choose 'Small screens only' from the options.
      6. Click 'Save changes'
      7. Log out and go to the log in screen.
      8. Type something into the password field.
      9. Narrow your browser window to a mobile-like resolution.
      10. CONFIRM that the 'eye' icon appears next to the password field.
      11. Click the 'eye' icon.
      12. CONFIRM you can see the inputted text.
      13. CONFIRM that the 'eye' icon now has a slash through it.
      14. Expand your browser window beyond the mobile-like resolution.
      15. CONFIRM that your password is once again hidden and the 'eye' icon is hidden.
      16. Once again, narrow your browser window to a mobile-like resolution.
      17. CONFIRM that you can see the 'eye' icon again and that it does not have the slash through it.

       

      Show
      Automated testing New tests added to auth/tests/behat/loginform.feature Manual testing Log in as Admin Go to Site admin -> Plugins -> Manage authentication CONFIRM there is a new setting called 'loginpasswordtoggle' CONFIRM that 'Small screens only' is the default. Choose 'Small screens only' from the options. Click 'Save changes' Log out and go to the log in screen. Type something into the password field. Narrow your browser window to a mobile-like resolution. CONFIRM that the 'eye' icon appears next to the password field. Click the 'eye' icon. CONFIRM you can see the inputted text. CONFIRM that the 'eye' icon now has a slash through it. Expand your browser window beyond the mobile-like resolution. CONFIRM that your password is once again hidden and the 'eye' icon is hidden. Once again, narrow your browser window to a mobile-like resolution. CONFIRM that you can see the 'eye' icon again and that it does not have the slash through it.  
    • 2
    • Team Hedgehog 2023 Sprint 4.2, Team Hedgehog 2023 Sprint 4.3, Team Hedgehog 2023 Review 4, Team Hedgehog 2024 Sprint 1.1, Team Hedgehog 2024 Sprint 1.2

      To make it easier for some user groups (e.g. K-12) to log into Moodle LMS, the login page (/login/index.php) should have the option to display the entered password in plain text. By clicking a hide/unhide (eye) icon.

      This will also help users entering their password on mobile devices as there is no/less physical key press feedback.

      Password entry should always be hidden by default.

      As some organisations will absolutely not want this as a feature there should be the option to enable or disable this feature in the administration settings. This setting should be tri-stated:

      • Not enabled (default on existing sites)
      • Enabled
      • Mobile only (only shown on mobile device resolutions - default on new sites).

      This improvement was request by the LMS Partners PAG.

       

            david.woloszyn@moodle.com David Woloszyn
            matt.porritt@moodle.com Matt Porritt
            Meirza Meirza
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 3 hours, 6 minutes
                1w 3h 6m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.