mirror of
https://github.com/fastapi-users/fastapi-users.git
synced 2026-03-13 07:49:55 +08:00
Implement on_after_update event handle
This commit is contained in:
@@ -41,6 +41,10 @@ def fastapi_users(
|
||||
def on_after_forgot_password():
|
||||
return request.param()
|
||||
|
||||
@fastapi_users.on_after_update()
|
||||
def on_after_update():
|
||||
return request.param()
|
||||
|
||||
return fastapi_users
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user