mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Fix adding a new user and don't allow to add non-local users
The user structure must provide the correct account source now.
This commit is contained in:
@ -50,4 +50,6 @@ object AddResult {
|
||||
def fold[A](fa: Success.type => A, fb: EntityExists => A, fc: Failure => A): A =
|
||||
fc(this)
|
||||
}
|
||||
def failure(ex: Exception): AddResult =
|
||||
Failure(ex)
|
||||
}
|
||||
|
Reference in New Issue
Block a user