Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-513

cPanel: Set different username if one is taken

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0.b3
    • Fix Version/s: 3.2.0-b1
    • Component/s: Modules
    • Labels:
      None

      Description

      When creating an account through cPanel, it's possible that a username truncated to 8 characters could be a duplicate of another username in the system. In this case, we need to add integers to the end (or something) to make it unique.

      Use the module API to determine how to best go about this, either to
      1. Check if a username exists, and use something else; repeat 5x
      2. Analyze the response that a username does not exist and try another; repeat 5x

      !!Unable to render embedded object: File (ALL OTHER MODULES NEED SIMILAR BEHAVIOR IMPLEMENTED) not found.!!

        Activity

        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        Added.
        If duplicates, username will be first 4 characters of domain name followed by a number. It will try up to 10,000 usernames before giving up.

        Show
        tyson Tyson Phillips (Inactive) added a comment - Added. If duplicates, username will be first 4 characters of domain name followed by a number. It will try up to 10,000 usernames before giving up.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              23/Apr/14

              Agile