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: Open (View Workflow)
    • Trivial
    • Resolution: Unresolved
    • 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

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

            Dates

              Created:
              Updated: