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.
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. BeZazz, Michael and John 2 1
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
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
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now