diff options
author | Azul <azul@riseup.net> | 2012-10-16 17:24:12 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2012-10-16 17:24:12 +0200 |
commit | d21474a0290edab1c765741d484335d83f50be75 (patch) | |
tree | 95390f6736f5d08fcfd9e50242f95d76e7825f43 /src/srp.js | |
parent | aeab3e93f45d2d8882d93ec20531aafd3cd9df45 (diff) |
use M2 as the key for the server auth
Diffstat (limited to 'src/srp.js')
-rw-r--r-- | src/srp.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ function SRP(remote, session) // If an error occurs, raise it as an alert. function confirm_authentication(response) { - if (session.validate(response.M)) + if (session.validate(response.M2)) srp.success(); else srp.error("Server key does not match"); |