Jump to content
  • 0

'Remember Me' by default for admin login


Question

Posted

Hello,

I'm trying to get the admin login page to check the 'Remember me on this computer.' option by default, but I don't see the 'input type="checkbox"' in /app/views/default/admin_login.pdt anywhere, so I'm unable to set it to checked by default.

Does anyone know the proper way to do this?

Thanks.

2 answers to this question

Recommended Posts

  • 0
Posted
2 hours ago, cyandark said:

Around line 49 you will find the following line of code:


$this->Html->ifSet($vars->remember_me) == 'true',

just replace it with:


true,

I tried it in Blesta 4.1.0 and it works well.

Thank you! Worked perfectly.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...