mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
fix #414
This commit is contained in:
parent
e7eea14b9d
commit
1a9f501383
7 changed files with 32 additions and 15 deletions
|
|
@ -721,7 +721,7 @@ func nsIdentifyHandler(server *Server, client *Client, command string, params []
|
|||
|
||||
// try certfp
|
||||
if !loginSuccessful && rb.session.certfp != "" {
|
||||
err = server.accounts.AuthenticateByCertFP(client, rb.session.certfp, "")
|
||||
err = server.accounts.AuthenticateByCertificate(client, rb.session.certfp, rb.session.peerCerts, "")
|
||||
loginSuccessful = (err == nil)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue