module smf2 with session returns PDN over username
Closed this issue · 1 comments
sylae commented
This can cause issues with permissions, if I change my username to something else, say, "butts", i will be logged into ejabberd as "butts@calref.net". However, manually logging in as "sylae@calref.net" works perfectly fine, which leads me to believe it's simply the session generator using the "PDN" jid over the "username" jid.
I'm pretty sure it's a simple fix, simply changing smf2.module:L23 to reference 'username' instead of 'name' //should// do the trick
cburschka commented
good idea; I didn't realize SMF distinguished between those