mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
- correct jabber token handling
- undisclosed-recipients:; instead of undisclosed-recipient:; - PM details button should not be there git-svn-id: file:///svn/phpbb/trunk@8090 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -499,6 +499,13 @@ class jabber
|
||||
}
|
||||
else
|
||||
{
|
||||
// Make sure we only use 'auth' for qop (relevant for $this->encrypt_password())
|
||||
// If the <response> is choking up on the changed parameter we may need to adjust encrypt_password() directly
|
||||
if (isset($decoded['qop']) && $decoded['qop'] != 'auth' && strpos($decoded['qop'], 'auth') !== false)
|
||||
{
|
||||
$decoded['qop'] = 'auth';
|
||||
}
|
||||
|
||||
$response = array(
|
||||
'username' => $this->username,
|
||||
'response' => $this->encrypt_password(array_merge($decoded, array('nc' => '00000001'))),
|
||||
|
Reference in New Issue
Block a user