Kohana 3: Auth::factory() gives error
-
27-09-2019 - |
Question
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?
Solution
Use Auth::instance()
instead. It will create an Auth object with driver (ORM, File).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow