|
@@ -1407,9 +1407,7 @@ func (am *AccountManager) AuthenticateByCertFP(client *Client, certfp, authzid s
|
1407
|
1407
|
AuthScriptInput{Certfp: certfp, IP: client.IP().String()})
|
1408
|
1408
|
if err != nil {
|
1409
|
1409
|
am.server.logger.Error("internal", "failed shell auth invocation", err.Error())
|
1410
|
|
- return err
|
1411
|
|
- }
|
1412
|
|
- if output.Success && output.AccountName != "" {
|
|
1410
|
+ } else if output.Success && output.AccountName != "" {
|
1413
|
1411
|
clientAccount, err = am.loadWithAutocreation(output.AccountName, config.Accounts.AuthScript.Autocreate)
|
1414
|
1412
|
return
|
1415
|
1413
|
}
|