-
Hi, me again! Is there a way to share backend login information with frontend modules? e.g. If I log in to the admin area, is there a way to retrieve that information in the frontend? Cheers! |
Beta Was this translation helpful? Give feedback.
Answered by
pboivin
Nov 22, 2021
Replies: 1 comment 3 replies
-
Hi @aarontilt, I guess this will depend on your frontend configuration but if you're using standard Blade views on your frontend, you can access the current Twill user like this:
You shoud get |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @aarontilt, I guess this will depend on your frontend configuration but if you're using standard Blade views on your frontend, you can access the current Twill user like this:
You shoud get
null
if the current user is not logged in.