Skip to content

Commit

Permalink
Merge pull request buerokratt#685 from 1AhmedYasser/Hot-Fix-Unathoriz…
Browse files Browse the repository at this point in the history
…ed-Status

Modified UnAuthorized Status
  • Loading branch information
varmoh authored Jun 6, 2024
2 parents 1e3a862 + 411956f commit 18128b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions DSL/Ruuter.private/DSL/GET/.guard
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ guard_success:

guard_fail:
return: "unauthorized"
status: 200
next: end
1 change: 1 addition & 0 deletions DSL/Ruuter.private/DSL/POST/.guard
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ guard_success:

guard_fail:
return: "unauthorized"
status: 200
next: end
1 change: 1 addition & 0 deletions DSL/Ruuter.private/DSL/TEMPLATES/check-user-authority.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ return_authorized:
next: end

return_unauthorized:
status: 200
return: false
next: end

Expand Down

0 comments on commit 18128b9

Please sign in to comment.