Groups
Groups
Sign in
Groups
Groups
py4web
Conversations
Labels
About
Send feedback
Help
post process after register
64 views
Skip to first unread message
Murat KAŞIKÇIOĞLU
unread,
Jan 9, 2025, 2:48:38 PM
1/9/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py4web
Hi,
How can i call post process/action after successful registration?
Murat.
Massimo
unread,
Jan 12, 2025, 2:29:52 AM
1/12/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py4web
This should do it, please test is let us know:
auth
.on_accept["register"] = lambda form, user: print(f"You registered {user} using this form variables {form.vars}")
Murat KAŞIKÇIOĞLU
unread,
Jan 12, 2025, 8:11:31 AM
1/12/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py4web
It worked. Thanks for the quick help.
Murat
unread,
Apr 25, 2025, 6:31:08 AM
4/25/25
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to py4web
Another related question:
How can I get user info?
There is no any info but token after verify_email.
auth.on_accept["verify_email"] = lambda form, user: verify_after(form=form, user=user)
Thx.
Reply all
Reply to author
Forward
0 new messages