You can configure your store to redirect customers to their account dashboard after they log in or let them continue shopping.
On the Admin sidebar, go to Stores > Settings > Configuration.
In the left panel, expand Customers and choose Customer Configuration.
Expand the Login Options section.
Set Redirect Customer to Account Dashboard after Logging in to one of the following:
Yes- The account dashboard appears when customers log in to their accounts.
No- Customers can continue shopping after logging in to their accounts.
If necessary, clear the User system value checkbox to make the change.
When complete, click Save Config.