SkynetLabs / webportal-nginx

MIT License
1 stars 2 forks source link

Custom error page for 401 Unauthorized that redirect to login screen #12

Closed kwypchlo closed 2 years ago

kwypchlo commented 2 years ago

Screenshot 2022-06-14 at 12 12 27

linear[bot] commented 2 years ago
SKY-30 Redirect auth error to login page

* [ ] Instead of showing users an error page that access requires authentication, redirect them to a login page * [ ] After being logged in, the login page should redirect them back to the page they were trying to access.

codecov[bot] commented 2 years ago

Codecov Report

Merging #12 (a2fac04) into main (43b7d9b) will increase coverage by 2.53%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   91.31%   93.84%   +2.53%     
==========================================
  Files          15       16       +1     
  Lines         806      813       +7     
==========================================
+ Hits          736      763      +27     
+ Misses         70       50      -20     
Impacted Files Coverage Δ
nginx/libs/skynet/account.lua 27.27% <100.00%> (+27.27%) :arrow_up:
nginx/libs/skynet/account.spec.lua 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 43b7d9b...a2fac04. Read the comment docs.