Skip to content

Commit

Permalink
Update session.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sgohl authored Apr 17, 2024
1 parent f4e67cc commit 8e9d188
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions wish/lib/session.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ Public() {
## a list of public URLs accessible without Login
## while they're secured by Guard/Role

if grep -q -o ${URI} /www/app/public.txt
then

return 0

fi
if [[ -f /www/app/public.txt ]]
then
if grep -q -o ${URI} /www/app/public.txt
then

return 0

fi
fi

}

Expand Down

0 comments on commit 8e9d188

Please sign in to comment.