Repository navigation
Conversation
Codecov Report❌ Patch coverage is
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
…eir own modules Prepares the auth refactor by moving auth-related modules: * the authentication state (`Auth`) moves to `cot::auth::state`, * the authentication middleware moves to `cot::middleware::auth`, * the admin app moves to `cot::admin::app`, * `cot::auth::db` is renamed to `cot::auth::user_pass` (including its migrations), as it will hold the username/password backend. BREAKING CHANGE: `cot::auth::db` is now `cot::auth::user_pass`.
shadowcpy
force-pushed
the
refactor-move-auth
branch
from
November 8, 2026 18:04
5b49ba0 to
5eaafe7
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
refactor!: move auth state, auth middleware and the admin app into their own modules
Prepares the auth refactor by moving auth-related modules:
Auth) moves tocot::auth::state,cot::middleware::auth,cot::admin::app,cot::auth::dbis renamed tocot::auth::user_pass(including its migrations), as it will hold the username/password backend.BREAKING CHANGE:
cot::auth::dbis nowcot::auth::user_pass.Related issue or discussion
Related to the Auth Refactor, see #634
Description
Moves auth-related modules to more sensible places, this is done primarly to avoid tons of conditional
dbgates since the refactored auth system will require thedbfeature to be enabled.Type of change
Checklist
just test-all)just clippy)cargo fmt)