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

    • Improvement
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Invalid
    • None
    • None
    • Authentication
    • 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

            Marc Marc
            somarasa somarasa [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: