phpScheduleIt
May 22, 2013, 09:36:56 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Auto Log-In or auto fill Credentials  (Read 466 times)
funkeirox
Newbie
*

Karma: 0
Posts: 41


« on: March 29, 2012, 01:42:52 PM »

Hi Nick, can you help me with some question? I saw in your phpScheduleIt demo page one small javascript to auto fill credentials in the inputs, but my question is can i pass this informations via get/post in url to auto login the users? or maybe at least auto fill the inputs like in demo? I'm ask this because i already have one restricted area where the users make your log-ins.

One more question, i really enjoy to customize the recursive schedule options in booking page. You defined a fixed number of days plus days, weeks, year and we dont have a option or some var in the config file to edit this.
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #1 on: April 02, 2012, 02:57:04 PM »

1) Do you want to always log in as the same user?

2) Do you just want to change the numbers in the drop down?
Logged
funkeirox
Newbie
*

Karma: 0
Posts: 41


« Reply #2 on: April 06, 2012, 08:39:53 AM »

No i just want auto login or auto complete the login form fields maybe using get/post variables like user and password using another form. It is possible do that because i do not use OpenLDAP and already have a restrict area where users can acess phpScheduleIt and others sistems.

1) I already have a restricted area and registered users.

2) If possible I need to make the user after login automatically access the phpScheduleIt or complete your details as username and password to login to it.

3) The layout/structure is login form> validate login > access to restricted area > login phpScheduleIt (ie, the user has to log-in 2x).
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5419


WWW
« Reply #3 on: April 10, 2012, 09:12:08 AM »

You'd need to change tpl/login.tpl and Pages/LoginPage.php to read the get/post variables and set them on the template. I'd suggest using POST because putting passwords in clear text on the query string would be a pretty big security risk.
Logged
funkeirox
Newbie
*

Karma: 0
Posts: 41


« Reply #4 on: April 16, 2012, 05:55:28 PM »

OK i will try this on 2.1 version, tanks nick.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!