mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Create external accounts independent from signup config
Refs: #1619, #1621
This commit is contained in:
@ -105,9 +105,7 @@ object OpenId {
|
||||
import dsl._
|
||||
|
||||
for {
|
||||
setup <- backend.signup.setupExternal(cfg.backend.signup)(
|
||||
ExternalAccount(accountId)
|
||||
)
|
||||
setup <- backend.signup.setupExternal(ExternalAccount(accountId))
|
||||
res <- setup match {
|
||||
case SignupResult.Failure(ex) =>
|
||||
logger.error(ex)(s"Error when creating external account!") *>
|
||||
|
Reference in New Issue
Block a user