John Posted October 14, 2017 Report 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
1 Abdy Posted October 14, 2017 Report 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. Michael, John and BeZazz 2 1 Quote
0 John Posted October 14, 2017 Author Report 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
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.
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.