Questions tagged [kohana-auth]

The Kohana Auth module provides an easy-to-use API for basic website authentication (users) and authorization (roles)

69 questions
0
votes
2 answers

Kohana 3 Auth in IE

Kohana Auth is not validating in IE. I have read some stuff from discussions on v.2 about changing from user_agent to user_ip... presumably in the ORM file in the AUTH module, how ever this is not resolving my issue. Another post on v.2 suggest…
david
  • 726
  • 1
  • 5
  • 10
0
votes
1 answer

Enforcing strong passwords in Kohana Auth

I am trying to enforce strong(er) passwords in my Kohana application using Auth, by using the following regex to require at least one upper case letter, one lower case, one number, one non-alphanum (special character), and a minimum of 8…
SigmaSteve
  • 664
  • 6
  • 25
0
votes
1 answer

Kohana 3: Auth::factory() gives error

When I try to make a new instance of the Auth-module object (Auth::factory()), Kohana gives me the following error: Cannot instantiate abstract class Auth Can someone help?
gigha
  • 41
  • 1
  • 10
0
votes
2 answers

Kohana: Jelly-Auth and Jelly-Formo won't play well together... cause errors

Trying to use the modules: Jelly-Auth and Jelly-Formo is causing 2 errors. Depending on how I arrange my boostrap file I can get rid of one error or the other but not both... Error 1: Auth works fine, formo…
Serhiy
  • 2,505
  • 3
  • 33
  • 49
0
votes
3 answers

Why do not the session Kohana 3.3?

After updating php from version 4 to 5.5, in Kohana 3.3.3 stopped working session .. When you call: Session :: instance ('database') there is an error: "Error reading session data." Why is that? Session_Exception [ 1 ]: Error reading session…
entermix
  • 43
  • 1
  • 9
0
votes
1 answer

how to establish database connection in kohana mvc framework

I am trying to create a login/Signup page using Auth/ORM module of kohana. i have succesfully installed the MySQLi module and added a line in the bootstrap.php file. Now when I try to create an account with all the details entered i get an error…
0
votes
1 answer

Kohana authenticate user with token

Ive accomplished this with Spring framework, however now I am tasked with this same functionality but in Kohana PHP. Looking to protect a site by implementing some authentication and session. When the user accesses this system they will pass a token…
user2524908
  • 861
  • 4
  • 18
  • 46
0
votes
2 answers

Kohana 3.3 check old password is correct before changing password

Using Auth ORM, how can I tell if the old password is correct before changing the password. I have seen code for older versions of Kohana which uses the find_salt method, but this no longer applicable in version 3.3. Any ideas?
Mark Aroni
  • 605
  • 1
  • 10
  • 21
0
votes
1 answer

Error: Declaration of Auth_ORM_Driver in Kohana 2.3.4

I moved a Kohana website of mine to another webserver and I'm getting this error: modules/auth/libraries/drivers/Auth/ORM.php [12]: Declaration of Auth_ORM_Driver::complete_login() should be compatible with that of …
0
votes
1 answer

Auth::instance returning false when logging a user in

I am creating a new user and then trying to log them in, the user is saved in the database and their role is also saved. Although I never hit the redirect to say they have been logged in. I have debugged the Auth::Instance->login and I get back…
joshuahornby10
  • 4,222
  • 8
  • 36
  • 52
0
votes
2 answers

how to sign up with different fields in kohana

The Model_Auth_User class in Kohana uses 'username', 'email','password' to create a new user what if i want it to take only 'email', 'password' and also modify the validation to validate 'email_confirm' instead of 'password_confirm'
Moustafa Mohamed
  • 226
  • 1
  • 2
  • 9
0
votes
1 answer

Kohana 3.3: Auth Module - Able to login with false password

I'm having two issue with Kohana Auth module: Able to login with false password I have logout from the application, but when click on Back button in browser, it display the content of the secured side. Then I refresh that page, it's redirect to…
0
votes
3 answers

Add table data to the logged in user

Using Kohana 3, I have my User table with a field that references a field from another table in the database, however, I can't find where the user data is requested so I can add a ->with to it so I can use it throughout the site. I'm still digging…
Francis Lewis
  • 8,872
  • 9
  • 55
  • 65
0
votes
1 answer

Kohana authentication module not loging in users

I am trying to get the login to work in Kohana, but so far it fails to log the user in. I have been successfully able to create new users, so I have all the tables set up. My view for the login page is as follows, …
Siva
  • 1,256
  • 3
  • 13
  • 29
0
votes
1 answer

Kohana 3.3 Auth module fails with remember flag and creating user token

I am attempting to log in users with: $login = Auth::instance()->login($this->request->post('username'), $this->request->post('password'), TRUE); However it fails when trying to set the autologin cookie, with ErrorException [ Notice ]: Trying to get…
xylar
  • 7,433
  • 17
  • 55
  • 100