My app to date has had one controller, default.py I had multiple login methods (LinkedIn and email address) for different sets of users. This caused a problem: when a user wasn't logged in, my app defaulted to prompt for a LinkedIn OAuth-style login.
So I decided to pull the code for the two sets of user a part into init/default.py and a new file, init/id.py both now implement their own function user() Trouble is, when I call init/id/id which are decorated:@auth.requires_login() the user() function in init/ default.py is called rather than the one in init/id.py Where am I going wrong?