-
Notifications
You must be signed in to change notification settings - Fork 0
Two factor authentication #63
base: main
Are you sure you want to change the base?
Conversation
Test Results1 tests 1 ✅ 0s ⏱️ Results for commit 9e960cc. ♻️ This comment has been updated with latest results. |
|
|
||
| [ApiController] | ||
| [Route("[controller]")] | ||
| public class QrCodeController : ControllerBase |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dziwne że nie wolisz minimal API
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
myślałem, że wolisz kontrolery
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sam zrobiłem w tym projekcie minimal api, imho jak jest mało metod to może być minimal api
| MatLabel, | ||
| MatSuffix, | ||
| ReactiveFormsModule, | ||
| NgOptimizedImage, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
O wow, ale profeska
| return await firstValueFrom( | ||
| this.http.post<Enable2faResponse>('/Api/Manage/2fa', { | ||
| enable: true, | ||
| twoFactorCode: code.toString(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
String to string?
Frontend/src/app/auth/auth-dialog/manage-user-account/manage-user-account.store.ts
Outdated
Show resolved
Hide resolved
Frontend/src/app/auth/auth-dialog/manage-user-account/manage-user-account.store.ts
Outdated
Show resolved
Hide resolved
Frontend/src/app/auth/auth-dialog/manage-user-account/manage-user-account.component.html
Outdated
Show resolved
Hide resolved
Frontend/src/app/auth/auth-dialog/manage-user-account/manage-user-account.component.html
Show resolved
Hide resolved
…ser-account.store.ts Co-authored-by: Mateusz Budzisz <[email protected]>
# Conflicts: # Backend/WebApi/Program.cs # Backend/WebApi/WebApi.csproj # Frontend/pnpm-lock.yaml
No description provided.