close Warning: Failed to sync with repository "(default)": [Errno 12] Cannot allocate memory; repository information may be out of date. Look in the Trac log for more information including mitigation strategies.
Modify

#1117 closed enhancement (fixed)

/oper to set account passwords

Reported by: Flexo <bitlbee@…> Owned by: wilmer
Priority: normal Milestone:
Component: BitlBee Version: devel
Keywords: patch Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

At the moment the only time you can use /oper to set an IM account's password is when you add it with 'account add'.

ohcibi asked in the channel if there was any other way to do it and so I wrote this patch that uses acc [acc] set -del password as a trigger to prompt for a password via /oper.

It uses the same mechanism as account add does, and since set -del password was being intercepted already to avoid a NULL value, it seemed like the best place for it to go. The only other alternative I could think of would be to create a new acc [acc] operpassword command or similar.

Attachments (2)

bitlbee-password-oper.patch (1.8 KB) - added by Flexo <bitlbee@…> at 2014-01-23T10:56:34Z.
Allow /oper after acc [acc] set -del password
bitlbee-password-oper2.patch (2.0 KB) - added by Flexo <bitlbee@…> at 2014-02-28T20:48:01Z.
Now with extra oauth logic!

Download all attachments as: .zip

Change History (6)

Changed at 2014-01-23T10:56:34Z by Flexo <bitlbee@…>

Attachment: bitlbee-password-oper.patch added

Allow /oper after acc [acc] set -del password

comment:1 Changed at 2014-02-04T03:44:07Z by dx

Keywords: patch added

comment:2 Changed at 2014-02-04T06:09:54Z by dx

See ticket #814

comment:3 Changed at 2014-02-08T20:54:48Z by dx

Owner: set to wilmer
Status: newassigned

Sup wilmer! Apply this!

Changed at 2014-02-28T20:48:01Z by Flexo <bitlbee@…>

Now with extra oauth logic!

comment:4 Changed at 2014-03-01T02:23:01Z by dx

Resolution: fixed
Status: assignedclosed

Modify Ticket

Action
as closed The owner will remain wilmer.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.