OAuth2: Remove client soft delete and fix client add command #213 #3943

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2024-01-29 21:08:01 +01:00
parent fd0006928e
commit d0ad3c23fb
20 changed files with 216 additions and 110 deletions

View File

@@ -40,7 +40,7 @@ func clientsModAction(ctx *cli.Context) error {
client = entity.FindClientByUID(frm.ID())
if client == nil {
return fmt.Errorf("client %s not found", clean.LogQuote(frm.ID()))
return fmt.Errorf("client %s not found", clean.Log(frm.ID()))
}
// Update client from form values.