• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
freakauth retrieving username from db_session

#1
[eluser]Unknown[/eluser]
I was going through the Tips and tricks freakauth documentation and I noticed a small snafu on:

http://www.4webby.com/freakauth/document...light.html

Quote:How to get logged in users data

It is possible to get the following data from the user session with the following methos:

* user id: $this->db_session->userdata('id');
* username: $this->db_session->userdata('username');
* user role: $this->db_session->userdata('role');

Should be:
Quote:* username: $this->db_session->userdata('user_name');

#2
[eluser]Grahack[/eluser]
Thanks, Dan will update the page soon.

#3
[eluser]danfreak[/eluser]
Cheers CogSly,

corrected the docs!

Dan


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.