Welcome Guest, Not a member yet? Register   Sign In
Ion Auth: How to display the current username in input form?
#11

[eluser]qpixo[/eluser]
Are you just cut & paste my example code in auth class?

cause this is a modified version that I did, if u noticed I use Username instead of email default to login. You must change in config of Ion Auth to

Code:
$config['identity'] = 'username';


Hope that helps!


[quote author="bill19" date="1335986734"]Hi Guys,

I am using the Ion_Auth library, and I'm very new to forms, so if I may, I'd like to ask a basic question using the code you've already posted.

when I run your public function login(), I get the following output:

Quote:Login

Please login with your email/username and password below.

Email/Username:
A PHP Error was encountered

Severity: Notice

Message: Undefined variable: identity

Filename: auth/login.php

Line Number: 13

I'm getting the same error with my forms. What am I doing wrong?

Thank you in advance,

Bill

[/quote]




Theme © iAndrew 2016 - Forum software by © MyBB