<commit_before>@using Microsoft.Extensions.Options
@using System.Security.Principal


@if (User.Identity.IsAuthenticated)
{
    <ul class="nav navbar-nav navbar-right">
        <li class="navbar-text">
            Hello, @User.Identity.Name!
        </li>
        <li><a href="@ViewData["EditMyProfileUri"]?origin=@ViewData["Origin"]" class="trigger">Edit My Profile</a></li>
        <li><a asp-area="" asp-controller="Account" asp-action="SignOut">Sign out</a></li>
        @if (ViewData["EnablePostLogout"] == "Yes")
        {
            <li class="navbar-text">
                <form class="nav navbar-nav navbar-left" action="@ViewData["EndSessionUri"]" enctype="application/x-www-form-urlencoded" method="post">
                    @Html.AntiForgeryToken()
                    <input type="hidden" name="id_token_hint" value="@ViewData["IdTokenHint"]" />
                    <input type="hidden" name="post_logout_redirect_uri" value="@ViewData["RedirectUrl"]" />
                    <input name="Authorize" class="postlogoutbutton" type="submit" value="PostLogout" />
                </form>
            </li>
        }
    </ul>
    @if (ViewData["EnableSessionManagement"] == "Yes")
    {
        <iframe frameborder="0" allowtransparency="true" height="0" width="0" src="@Url.Action("RPIFrame", "Account")"></iframe>
        <iframe frameborder="0" allowtransparency="true" height="0" width="0" src='@ViewData["CheckSessionIframeUri"]' id="opIFrame"></iframe><commit_msg>#66916 [GitHub] The option: Sign out should be hidden when the setting: EnablePostLogout = true (#47)<commit_after>@using Microsoft.Extensions.Options
@using System.Security.Principal


@if (User.Identity.IsAuthenticated)
{
    <ul class="nav navbar-nav navbar-right">
        <li class="navbar-text">
            Hello, @User.Identity.Name!
        </li>
        <li><a href="@ViewData["EditMyProfileUri"]?origin=@ViewData["Origin"]" class="trigger">Edit My Profile</a></li>

        @if (ViewData["EnablePostLogout"] == "Yes")
        {
            <li class="navbar-text">
                <form class="nav navbar-nav navbar-left" action="@ViewData["EndSessionUri"]" enctype="application/x-www-form-urlencoded" method="post">
                    @Html.AntiForgeryToken()
                    <input type="hidden" name="id_token_hint" value="@ViewData["IdTokenHint"]" />
                    <input type="hidden" name="post_logout_redirect_uri" value="@ViewData["RedirectUrl"]" />
                    <input name="Authorize" class="postlogoutbutton" type="submit" value="PostLogout" />
                </form>
            </li>
        }
        else
        {
            <li><a asp-area="" asp-controller="Account" asp-action="SignOut">Sign out</a></li>
        }
    </ul>
    @if (ViewData["EnableSessionManagement"] == "Yes")
    {
        <iframe frameborder="0" allowtransparency="true" height="0" width="0" src="@Url.Action("RPIFrame", "Account")"></iframe>
        <iframe frameborder="0" allowtransparency="true" height="0" width="0" src='@ViewData["CheckSessionIframeUri"]' id="opIFrame"></iframe>
{'fraction_non_alphanumeric': 0.17260362694300518, 'fraction_numerical': 0.006152849740932643, 'mean_word_length': 3.0968169761273208, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3438097', 'n_tokens_mistral': 955, 'n_tokens_neox': 907, 'n_words': 156}