开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜