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
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