Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14816

Bug in auth.php (Permission/Auth class) when using external auth and wants to create new user profile

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
      None

      Description

      in function login($username, $password, $autologin = false, $viewonline = 1, $admin = 0)
      in if ($login['status'] == LOGIN_SUCCESS_CREATE_PROFILE)
      account is created via
      user_add($login['user_row'], (isset($login['cp_data'])) ? $login['cp_data'] : false);

      and after that sql query is performed to check if newly created user exists
      but $login['user_row']['username'] and $username can be different

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            somarasa somarasa [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: