public function my()
{
if (!$this->isLoggedIn()) {
\Airship\redirect($this->airship_cabin_prefix);
}
$account = $this->acct->getUserAccount($this->getActiveUserId());
$gpg_public_key = '';
if (!empty($account['gpg_public_key'])) {
$gpg_public_key = $this->getGPGPublicKey($account['gpg_public_key']);
}
$post = $this->post(new MyAccountFilter());
if (!empty($post)) {
$this->processAccountUpdate($post, $account, $gpg_public_key);
return;
}
$this->lens('my_account', ['active_link' => 'bridge-link-my-account', 'account' => $account, 'gpg_public_key' => $gpg_public_key]);
}