-rw-r--r-- | lib/consumer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/consumer.cc b/lib/consumer.cc index 10c2fa0..b215aa8 100644 --- a/lib/consumer.cc +++ b/lib/consumer.cc @@ -181,9 +181,9 @@ namespace opkele { kv += ':'; f.insert(0,"openid."); kv += pin.get_param(f); kv += '\n'; - if(ext) ps[f.substr(sizeof("openid."))] = pin.get_param(f); + if(ext) ps[f.substr(sizeof("openid.")-1)] = pin.get_param(f); if(co==string::npos) break; p = co+1; } |