Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14816

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Invalid
    • Icon: Trivial Trivial
    • None
    • None
    • Authentication
    • None

      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

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

              Created:
              Updated:
              Resolved: