Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3645

When username is not standard, the registration fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 2.3
    • Local: Hub
    • None
    • MOODLE_23_STABLE

      Hi, I'm trying to register my Moodle site so I can receive the security alert emails. I log into my Moodle site, go to Site Administration > Registration, and fill out the form. When I hit submit, I get the following error from http://hub.moodle.org/local/hub/siteregistration.php - But I'm not entering a username in the form, so I don't know how to fix: The username can only contain alphanumeric lowercase characters, underscore (_), hyphen , period (.) or at symbol (@) Stack trace: line 47 of /user/lib.php: moodle_exception thrown line 1365 of /local/hub/lib.php: call to user_create_user() line 1182 of /local/hub/lib.php: call to local_hub->create_hub_token() line 341 of /local/hub/siteregistration.php: call to local_hub->register_site() line 303 of /local/hub/siteregistration.php: call to process_registration()

      When username is not standard, the registration fail. We should not validate username on the hub, it doesn't really matter how is the username on the remote site.

            jerome Jérôme Mouneyrac
            jerome Jérôme Mouneyrac
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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