i think login_bare needs to write again, in login() function, it first checks the login_methods and then local database and also create_or_get_user and update session.auth, but in login_bare it just check the database if user is there add it to session but not doing any of the login() steps which brings many problems like if user changed his gmail password. i think login_bare should be just like login() with the difference of instead of returning form it should return messages in pliantext or json.
On Monday, February 18, 2013 9:04:48 PM UTC+3:30, Massimo Di Pierro wrote: > > self.login_bare(....) calls self.login_user(...) and it automatically logs > in the user and stores user in session.auth.user > > > > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

