fixed copy/paste issue
This commit is contained in:
parent
c872cb69d0
commit
b88c5f606d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue