bitwarden / passwordless-server

Bitwarden Passwordless.dev infrastructure/backend (API, database, Docker, etc).
https://bitwarden.com/
Other
83 stars 26 forks source link

Fixing routing for when you click on Sidebar logo. #710

Closed jrmccannon closed 4 weeks ago

jrmccannon commented 4 weeks ago

Description

When clicking on the logo, it would throw 500 because it couldn't find a Razor page for /Organization/Overview/. Changed this to a plain redirect since the overview page was migrated to blazor.

Shape

Changes LocalRedirect based off Razor Page to be Redirect.

Checklist

I did the following to ensure that my changes were tested thoroughly:

I did the following to ensure that my changes do not introduce security vulnerabilities:

codecov[bot] commented 4 weeks ago

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 35.14%. Comparing base (063515c) to head (5026fd6). Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/AdminConsole/Pages/Account/Login.cshtml.cs 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #710 +/- ## ========================================== - Coverage 35.15% 35.14% -0.01% ========================================== Files 574 574 Lines 31156 31176 +20 Branches 930 930 ========================================== + Hits 10953 10958 +5 - Misses 20057 20072 +15 Partials 146 146 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.