https://bugzilla.wikimedia.org/show_bug.cgi?id=72974

            Bug ID: 72974
           Summary: Password file should normalize username
           Product: Pywikibot
           Version: core (2.0)
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: login.py
          Assignee: [email protected]
          Reporter: [email protected]
       Web browser: ---
   Mobile Platform: ---

With

user-config.py
--------------
family = 'wikipedia'
mylang = 'en'
usernames['wikipedia']['en'] = u'valhallasw'
password_file = 'password'

password
--------
(u'valhallasw', 'topsecretpassword')


The password is not used, as the username is u'Valhallasw' once LoginManager
checks the password file.

LoginManager should normalize the usernames in the password file.


Workaround:
Use (u'Valhallasw', 'topsecretpassword') in the password file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to