Skip to content

Commit

Permalink
reset also the secret generated timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
timiwahalahti committed Sep 21, 2023
1 parent 47c8953 commit 5c2df5c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function camptix_init() {
if ( strtotime( $this->secret_generated ) < strtotime( "-{$this->secret_expiry}" ) ) {
$camptix_options['attendance-enabled'] = 0;
$camptix_options['attendance-secret'] = '';
$camptix_options['attendance-secret-generated'] = '';
update_option( 'camptix_options', $camptix_options );
return;
}
Expand Down

0 comments on commit 5c2df5c

Please sign in to comment.