Hey guys,
After the crossroads post, I thought about altering Aalborg's css a little bit to show you that we don't really need a completely new theme to have a more modern look, just by changing some subtle things.
I'd like to start working on it and later, show it in a demo install. Can someone provide me with a snippit so I can login my demo-user automatically?
I tried
elgg_authenticate('demouser','demouserpassword')
of course, that user exists, but although it returns true, no login happens.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- Dries@driesdk
Dries - 0 likes
- Juho Jaakkola@juho.jaakkola
Juho Jaakkola - 0 likes
- 'action/login' as the action
- Hidden username field pre-filled with the username
- Hidden password field pre-filled with the password
- Dries@driesdk
Dries - 0 likes
- Rohit Gupta@Rohit_1990_3676
Rohit Gupta - 0 likes
You must log in to post replies.What does "login my demo-user automatically" mean?
Something else than using the "Remember be" setting?
Well that whoever visits the page is automatically logged in as a demo-user, instead of having to fillin the the username, password, and click the login button.
Well you could e.g. add a form with:
And then auto-submit the form with javascript.
Or an action link that the user clicks:
Jep, thanks, gonna try that
[Moderator: this comment was off-topic. It was moved to its own topic. Read it here.]