Fix bug with lock in confirmPGP.
This commit is contained in:
parent
39875522ef
commit
0a17e34faa
1 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,8 @@ function requestPGP($email, $key) {
|
|||
|
||||
//returns false on failure or true on success
|
||||
function confirmPGP($email, $confirm) {
|
||||
require_once(includePath() . "/lock.php");
|
||||
|
||||
if(!lockAction('confirmpgp')) {
|
||||
return "try again later";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue