Skip to content

Commit

Permalink
FIX: Fixing disableAuth bug. (#54)
Browse files Browse the repository at this point in the history
## Description
Fixes and closes a bug with the `disableAuth` flag.

## Related Issue
Fixes and closes #53 

## Motivation and Context
To fix a reported bug.

## How Has This Been Tested?
Generating a solution with `disableAuth` flag and build it doesn't
generate an error anymore.

## Screenshots (if appropriate):

## Types of changes
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to change)

## Checklist:
- [X] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [X] I have read the **CONTRIBUTING** document.
- [ ] I have added tests to cover my changes.
- [X] All new and existing tests passed.
  • Loading branch information
CesarD authored Nov 30, 2023
1 parent 8189723 commit f9fdfdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
using Microsoft.AspNetCore.Mvc;
using Monaco.Template.Backend.Application.DependencyInjection;
using Monaco.Template.Backend.Application.Infrastructure.Context;
using Monaco.Template.Backend.Api.Auth;
#if (!disableAuth)
using Monaco.Template.Backend.Api.Auth;
using Monaco.Template.Backend.Common.Api.Auth;
#endif
using Monaco.Template.Backend.Common.Api.Cors;
Expand Down

0 comments on commit f9fdfdb

Please sign in to comment.