Benefits->CanReviewOwnArtwork){ throw new Exceptions\InvalidPermissionsException(); } // We got here because a `User` update had errors and the user has to try again. if($exception){ http_response_code(Enums\HttpCode::UnprocessableContent->value); session_unset(); } } catch(Exceptions\UserNotFoundException){ Template::ExitWithCode(Enums\HttpCode::NotFound); } catch(Exceptions\LoginRequiredException){ Template::RedirectToLogin(); } catch(Exceptions\InvalidPermissionsException){ Template::ExitWithCode(Enums\HttpCode::Forbidden); // No permissions to edit artwork. } ?> 'Edit user #' . $user->UserId, 'canonicalUrl' => $user->Url . '/edit', 'css' => ['/css/user.css'], 'highlight' => '' ] ) ?>

Edit DisplayName) ?>

$exception]) ?>
$user, 'isEditForm' => true, 'generateNewUuid' => $generateNewUuid, 'passwordAction' => $passwordAction]) ?>