Stay in front-end after logon using BuddyPress logon widget

Hello,
I installed BuddyPress in my main domain, and network activated.
I also add the BuddyPress logon widget in a sub-site home page, so the user of the sub-site can directly logon from his/her sub-site front-end. But after logon, users will be redirected to dashboard.
How to keep users stay in their home page?
Before logon:

After logon, stay in front-end, something like the screenshot below:

How to do that?

Regards
YZ