First time login in app

When i create member type guest, I want to check the guest login firstly to show dialog for changing password. Please help me!

Hi @duygtvt:

Can you ellaborate a little bit further? What do you mean with “member type guest”?
Login workflow could be managed depending on your requeriments and framework knowledge.

Using session hooks you could intercept the login and force to reset password.
https://frappeframework.com/docs/user/en/python-api/hooks#session-hooks

There is an option on system settings to force to reset passwords every x days … but … it will force all the users to do that …

Hope this helps.

1 Like

@avc I think this is what they mean

@duygtvt I tried the flow, and you’re right, it directly does take you to the discussion portal view, and there’s no way you can reset or even set your pwd. We’ll take this up, thanks for bringing this to our notice.

1 Like

Oh, Gameplan … I didn’t notice :grimacing:
Sorry!