Hooking into preview
# help-with-umbraco
r
Our entire website is behind login, so whenever we try to preview we get redirected to login page. While we could log in and then click preview, I would like to hook into an event so if the request coming in is preview, then I want to log in the user ad our test user. Is this possible in Umbraco13?
s
Hi @Reptilia, just to let you know that we'll soon stop the ability to create new questions on Discord as we're moving the #1125392773038755890 channel over to our new forum. You can read more about this initiative here: https://discord.com/channels/869656431308189746/869656431308189749/1344602175019421736 I'd recommend you log in to the forum (https://forum.umbraco.com) with your GitHub account and post this question there. Thanks, and see you there!
I have moved my question to forum now, ty 😁