Skip to content

HUBOT_AUTH_ADMIN with XMPP jid #59

@meaz

Description

@meaz

I use hubot-auth for a bot on my XMPP server.
On XMPP server, users are identified with a JID, something that looks like an email:
[email protected]
HUBOT_AUTH_ADMIN works fine if i set just the username.
But if I set a the JID, so [email protected], then this person is not recognized as an admin.

The problem is that on a XMPP server [email protected] and [email protected] are two different persons! So right now, if I set HUBOT_AUTH_ADMIN=david, both of them would have admin rights. That's not what i want...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions