Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 AppEngine 上有一个 Python 应用程序,需要用户登录。有没有办法在登录时写一个日志条目?
用户可以从任何 URL 访问登录屏幕,并在整个会话期间重新加载页面,因此当我想要的只是身份验证时的一个时,将其添加到代码中会添加大量条目。
仅当他们进入应用程序已有一段时间后才记录。如果您真的想在登录级别执行此操作,您可以,但您需要在域上设置 SSO。