feat(api): add otp (sms and email) checks in session api (#6422)

* feat: add otp (sms and email) checks in session api

* implement sending

* fix tests

* add tests

* add integration tests

* fix merge main and add tests

* put default OTP Email url into config

---------

Co-authored-by: Stefan Benz <[email protected]>
This commit is contained in:
Livio Spring
2023-08-24 09:41:52 +00:00
committed by GitHub
co-authored by Stefan Benz
parent 29fa3d417c
commit bb40e173bd
27 changed files with 2077 additions and 151 deletions
+3
View File
@@ -47,6 +47,9 @@ type Config struct {
CSRFCookieName string
Cache middleware.CacheConfig
AssetCache middleware.CacheConfig
// LoginV2
DefaultOTPEmailURLV2 string
}
const (