Justin Baur
7f5f010e1e
Run formatting ( #2230 )
2022-08-29 16:06:55 -04:00
Justin Baur
bae03feffe
Revert filescoped ( #2227 )
...
* Revert "Add git blame entry (#2226 )"
This reverts commit 239286737d15cb84a893703ee5a8b33a2d67ad3d.
* Revert "Turn on file scoped namespaces (#2225 )"
This reverts commit 34fb4cca2aa78deb84d4cbc359992a7c6bba7ea5.
2022-08-29 15:53:48 -04:00
Justin Baur
34fb4cca2a
Turn on file scoped namespaces ( #2225 )
2022-08-29 14:53:16 -04:00
Justin Baur
231eb84e69
Turn On ImplicitUsings
( #2079 )
...
* Turn on ImplicitUsings
* Fix formatting
* Run linter
2022-06-29 19:46:41 -04:00
Kyle Spearrin
3ffd240287
captcha scores ( #1967 )
...
* captcha scores
* some api fixes
* check bot on captcha attribute
* Update src/Core/Services/Implementations/HCaptchaValidationService.cs
Co-authored-by: e271828- <e271828-@users.noreply.github.com>
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
Co-authored-by: e271828- <e271828-@users.noreply.github.com>
2022-05-09 12:25:13 -04:00
Vincent Salucci
7046aecfd5
[Captcha] BUG Add null checks | Make ceiling default to zero ( #1903 )
...
* [Captcha] BUG Add null checks | Make ceiling default to zero
* Formatting
2022-03-09 12:07:06 -06:00
Vincent Salucci
19d5817f8f
[Captcha] Implement failed logins ceiling ( #1870 )
...
* [Hacker1] Failed Login Attempts Captcha
* [Captcha] Implement failed logins ceiling
* Formatting
* Updated approach after implementation talks with Kyle
* Updated email templates // Updated calling arch for failed attempts
* Formatting
* Updated 2fa email links
* Renamed baserequest methods to better match their actions
* EF migrations/scripts
* Updated with requested changes
* Defaults for MaxiumumFailedLoginAttempts
2022-03-02 15:45:00 -06:00
Oscar Hinton
e4a10aae27
Split out repositories to Infrastructure.Dapper / EntityFramework ( #1759 )
2022-01-11 10:40:51 +01:00
Matt Gibson
7a135ae7cd
Protect user registration with captcha ( #1480 )
...
* Protect user registration with captcha
* PR feedback
2021-07-22 12:29:06 -05:00
Matt Gibson
8e1e2fa2fe
Feature/sync Enable hcaptcha on login ( #1469 )
...
* Share globalSettings hcaptcha public key with clients
* Require captcha valid only prior to two factor
users with two factor will have already solved captcha is necessary.
Users without two factor will have`TwoFactorVerified` set to false
* Do not require CaptchaResponse on two-factor requests
* Add option to always require captcha for testing purposes
* Allow for self-hosted instances if they want to use it
* Move refresh suggestion to correct error
* Expect lifetime in helper method
* Add captcha bypass token to successful captcha validations
* Remove twofactorValidated
* PR Feedback
2021-07-21 13:42:06 -05:00
Kyle Spearrin
d2e48a5c2c
hcaptcha validation on password login ( #1398 )
2021-06-16 12:47:41 -04:00