My problem is solved through capturing the login event
On Mon, Mar 5, 2012 at 1:48 PM, Sanjeet Kumar wrote:
> Actually i want to go to the another function in the default controller
> when i click on the login it should be call the function such as emp()
> istead of index and after login i want
Actually i want to go to the another function in the default controller
when i click on the login it should be call the function such as emp()
istead of index and after login i want to stay on the emp() only
On Mon, Mar 5, 2012 at 1:14 PM, Bruno Rocha wrote:
> the login is by default in defautl/
the login is by default in defautl/user/login not in index.
you can set your own controller and function.
Create a new controller with a function to expose dict(form=auth()) and in
models set:
auth.settings.controller = "myothercontroller"
auth.settings.function = "myfunction"
I am not sure if
I am using the index as my home page and i want to call the another
controller for login when the user click on the login link
4 matches
Mail list logo