"rememberMe" is not used

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

"rememberMe" is not used

jleroux@apache.org
Hi,

While working on OFBIZ-10635 I noticed this block of code in LoginEvents::storeLogin

         if ("Y".equals(request.getParameter("rememberMe"))) {
             setUsername(request, response);
         }

It was added by Andrew long ago: https://markmail.org/message/dmqqxse65inh6amr

But rememberMe is never created  in code so LoginEvents::setUsername is never used.

I think we should remove this  block of code and the 2 related methods below.

I will do in a week w/o opinions.

--
Jacques
Reply | Threaded
Open this post in threaded view
|

Re: "rememberMe" is not used

Jacques Le Roux
Administrator
Done at r1846221

Jacques


Le 03/11/2018 à 11:37, [hidden email] a écrit :

> While working on OFBIZ-10635 I noticed this block of code in LoginEvents::storeLogin
>
>         if ("Y".equals(request.getParameter("rememberMe"))) {
>             setUsername(request, response);
>         }
>
> It was added by Andrew long ago: https://markmail.org/message/dmqqxse65inh6amr
>
> But rememberMe is never created  in code so LoginEvents::setUsername is never used.
>
> I think we should remove this  block of code and the 2 related methods below.