Custom login in mendix

0
I wanted to create a custom login for my Mendix project, and I've created a JavaAction shown below, but after the user login with the JavaAction, I checked the currentUser in the microflow, and I found that the user is still Anonymous, how can I update the currentUser to the actual user that login in the system?   JavaAction:   currentUser:
asked
3 answers
0

Hi, you need to assign an appropriate User Role through System.UserRole attribute assignment (last line in your screenshot)

answered
0

Why not use the available login action for nanoflows?

answered
0

曲线救国

1.用javascript 成功回调到你想去的页面

1. image.png

2. 在nanoflow里检查当前用户是否匿名 如果是则跳转到系统登录页 image.png

answered