Permalink
Browse files

corrected error condition

git-svn-id: svn://svn.xmpp.org:7938/xmpp/trunk@2545 4b5297f7-1745-476d-ba37-a9c6900126ab
  • Loading branch information...
1 parent 2415bab commit 6bac31e7cfc2e5f33c2209e88600e67cefdefced @stpeter stpeter committed Dec 1, 2008
Showing with 3 additions and 3 deletions.
  1. +3 −3 extensions/xep-0077.xml
View
@@ -427,7 +427,7 @@
]]></example>
<example caption='Host Informs Client of Failed Password Change (Not Authorized)'><![CDATA[
<iq type='error' from='shakespeare.lit' to='bill@shakespeare.lit/globe' id='change1'>
- <error code='401' type='cancel'>
+ <error code='401' type='modify'>
<not-authorized xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>
@@ -463,8 +463,8 @@
</field>
</x>
</query>
- <error code='405' type='cancel'>
- <not-allowed xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
+ <error code='401' type='modify'>
+ <not-authorized xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>
]]></example>

0 comments on commit 6bac31e

Please sign in to comment.