Setting ultimate dest with the isAuthorized function
This commit is contained in:
parent
d6509266f4
commit
43494c0557
@ -264,7 +264,8 @@ toWaiApp' y segments env = do
|
||||
case authRoute y of
|
||||
Nothing ->
|
||||
permissionDenied "Authentication required"
|
||||
Just url ->
|
||||
Just url -> do
|
||||
setUltDest'
|
||||
redirect RedirectTemporary url
|
||||
Unauthorized s -> permissionDenied s
|
||||
case handleSite site render url method of
|
||||
|
||||
Loading…
Reference in New Issue
Block a user