[jira] [Updated] (OFBIZ-6635) Old UserLogin from userLoginId-change is not correctly disabled

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-6635) Old UserLogin from userLoginId-change is not correctly disabled

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-6635?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Becker updated OFBIZ-6635:
---------------------------------
    Attachment: OFBIZ-6635-FixedDisablingOldUserLogin.patch

> Old UserLogin from userLoginId-change is not correctly disabled
> ---------------------------------------------------------------
>
>                 Key: OFBIZ-6635
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6635
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Upcoming Branch
>            Reporter: Martin Becker
>            Priority: Critical
>         Attachments: OFBIZ-6635-FixedDisablingOldUserLogin.patch
>
>
> If a userLoginId of an existing user is updated by LoginServices.updateUserLoginId, a new UserLogin value is created with the data of the old one and the old one is disabled afterwards. In addition to switch the enabled flag to "N" the disabledDateTime is set to current date. This is wrong because this makes it possible to reenable the old UserLogin by just do a login with the old userLoginId (standard mechanism to lock the login for a while after subsequent failed login requests).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)