John Posted October 14, 2017 Report Share Posted October 14, 2017 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. Quote Link to comment Share on other sites More sharing options...
1 Abdy Posted October 14, 2017 Report Share Posted October 14, 2017 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. John, Michael and BeZazz 2 1 Quote Link to comment Share on other sites More sharing options...
0 John Posted October 14, 2017 Author Report Share Posted October 14, 2017 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. Abdy 1 Quote Link to comment Share on other sites More sharing options...
Question
John
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.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.