fixed copy/paste issue

This commit is contained in:
Matthias Pfefferle 2023-05-09 12:17:48 +02:00
parent c872cb69d0
commit b88c5f606d

View file

@ -29,7 +29,7 @@ class Signature {
} }
if ( ! $key ) { if ( ! $key ) {
return self::generate_key_pair( $user_id, true ); return self::get_public_key( $user_id, true );
} }
return $key; return $key;
@ -52,7 +52,7 @@ class Signature {
} }
if ( ! $key ) { if ( ! $key ) {
return self::generate_key_pair( $user_id, true ); return self::get_private_key( $user_id, true );
} }
return $key; return $key;