lovetoxi have to set a new password, and in return i get maybe a error including a form with further questions
lovetoxwhy not just do the same as with register, request a form with all the fields..
ZashIs that how it works?
ZashOh, that weird one where the XEP says to return an error along with a form?
ZashThat's super weird and unlike everything else in all of XMPP.
ZashYou have my support in just ignoring it and doing the sensible thing, like you said, request a form first.
lovetoxyeah except there is no way to request a form ^^
lovetoxthe example given in the xep is also borderline stupid
lovetoxlet the user type his new password, then send it to the server, get a error back and a form which says to type the old password and the new password again
ZashThe sensible thing would be an iq-get like https://xmpp.org/extensions/xep-0077.xml#example-1
ZashLooks like that's what Prosody implements
lovetoxZash, yes for register
lovetoxbut not for password change
ZashFix the XEP
pulkomandyhas left
pulkomandyhas joined
ZashActually, deprecate it
ZashHaving iq stanzas pre-auth is ugly and awkward.
asterixhas left
asterixhas joined
Zash> why not just do the same as with register, request a form with all the fields..
I was agreeing with this, in case you misunderstood everything I was writing.
lovetoxwhat makes you think i misunderstood you?
arashihas joined
ZashMaybe I'm the one misunderstanding then. It sounded like you were disagreeing with me when I said the same thing as you.
lovetoxwhat i was disagreeing with was
lovetox> Zash: Looks like that's what Prosody implements
lovetoxi doubt you implement a get for password form
lovetoxwhich is not specified anywhere
Zashlovetox: I looked at the code and it looked like it does the sane thing you said, ie not following the XEP
ZashPost login, you should be able to iq-get the form to use
lovetoxhow exactly example 1 gives me the register form
lovetoxhow do i get a password form?
Zashlovetox: I think you do the same thing as example 1, but after login.
ZashLooks like prosody just returns `<query><username>your username</username><password/></query>` tho, no form
lovetoxthis is specified
lovetoxexample 3
lovetoxHost Informs Entity of Current Registration
Zashah, yeah
ZashWhy is that not where you put a from if you need a form for whatever reason?
lovetoxi dont understand the question
ZashNo question, really. The XEP is weird.
lovetoxyeah it is, thats what i wanted to express, weird but still workable
lovetox:)
ZashWas there a replacement for this?
lovetoxthere is a multistage ibr thingy
ZashThere's BIND 2, SASL 2, bunch of others something 2
ZashDoes password change need to be something specialized or could it be a well-known ad-hoc command?
lovetoxcould be an adhoc command
ZashAh, there it is https://xmpp.org/extensions/xep-0389.html
ZashDoes any currently popular server do that weird returning an error and a form?