mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Adopt store module to new collective table
This commit is contained in:
@ -72,7 +72,7 @@ object TotpRoutes {
|
||||
for {
|
||||
data <- req.as[OtpConfirm]
|
||||
result <- backend.totp.disable(
|
||||
user.account,
|
||||
user.account.asAccountId,
|
||||
OnetimePassword(data.otp.pass).some
|
||||
)
|
||||
resp <- Ok(Conversions.basicResult(result, "TOTP setup disabled."))
|
||||
|
Reference in New Issue
Block a user