google-app-engine : how to implement user logon success event
I'm using google-app-engine in python language, I'm want to do something when user logon success event.
for example
def onlogin_success():
user = users.get_current_user()
开发者_StackOverflow社区 log('user login %s' + user.nickname())
thanks
You need to generate the login URL via create_login_url
and pass in a dest_url
param.
The user will be taken to dest_url
on successful login.
精彩评论