<commit_before><header class="modal-header flex justify-center">
    <h1 style="margin: 0;">Impersonate</h1>
</header>
{{!-- disable mouseDown so it doesn't trigger focus-out validations --}}
<a class="close" href role="button" title="Close" {{action "closeModal"}} {{action (optional this.noop) on="mouseDown"}}>
    {{svg-jar "close"}}<span class="hidden">Close</span>
</a>

<div class="modal-body">
    <div class="flex items-center justify-center mt4 mb4">
        <GhMemberAvatar
            @member={{this.member}}
            @sizeClass={{if this.member.name 'f-headline fw4 lh-zero tracked-1' 'f-headline fw4 lh-zero tracked-1'}}
            @containerClass="w25 h25 gh-member-detail-avatar" />
    </div>

    <p class="tc pl4 pr4">
        This is an authentication link to sign into <strong>{{this.config.blogTitle}}</strong> as <strong>{{this.member.email}}</strong>, you can send it to them if they need it, or use it to sign into their account for customer support.
    </p>

    <fieldset>
        <div class="gh-input-group">
            <GhTextInput
                @id="member-signin-url"
                @name="member-signin-url"
                @disabled={{true}}
                @value={{readonly signinUrl}}
                @placeholder="{{this.config.blogUrl}}/members/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
            />
            {{#if signinUrl}}
                <GhTaskButton
                @buttonText="Copy link"
                @task={{this.copySigninUrl}}
                @successText="Link copied"
                @class="gh-btn gh-btn-blue gh-btn-icon" />
            {{else}}
                <GhTaskButton
                @buttonText="Copy link"
                @task={{this.copySigninUrl}}
                @successText="Link copied"
                @disabled="true"
                @class="gh-btn gh-btn-blue gh-btn-icon" />
            {{/if}}
        </div>
    </fieldset>
</div>

<div>
    <p class="tc pt4 mb2">This link is only valid for the next <strong>4 hours</strong></p>
</div><commit_msg>Updated magic link expiry information to 24 hours<commit_after><header class="modal-header flex justify-center">
    <h1 style="margin: 0;">Impersonate</h1>
</header>
{{!-- disable mouseDown so it doesn't trigger focus-out validations --}}
<a class="close" href role="button" title="Close" {{action "closeModal"}} {{action (optional this.noop) on="mouseDown"}}>
    {{svg-jar "close"}}<span class="hidden">Close</span>
</a>

<div class="modal-body">
    <div class="flex items-center justify-center mt4 mb4">
        <GhMemberAvatar
            @member={{this.member}}
            @sizeClass={{if this.member.name 'f-headline fw4 lh-zero tracked-1' 'f-headline fw4 lh-zero tracked-1'}}
            @containerClass="w25 h25 gh-member-detail-avatar" />
    </div>

    <p class="tc pl4 pr4">
        This is an authentication link to sign into <strong>{{this.config.blogTitle}}</strong> as <strong>{{this.member.email}}</strong>, you can send it to them if they need it, or use it to sign into their account for customer support.
    </p>

    <fieldset>
        <div class="gh-input-group">
            <GhTextInput
                @id="member-signin-url"
                @name="member-signin-url"
                @disabled={{true}}
                @value={{readonly signinUrl}}
                @placeholder="{{this.config.blogUrl}}/members/?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
            />
            {{#if signinUrl}}
                <GhTaskButton
                @buttonText="Copy link"
                @task={{this.copySigninUrl}}
                @successText="Link copied"
                @class="gh-btn gh-btn-blue gh-btn-icon" />
            {{else}}
                <GhTaskButton
                @buttonText="Copy link"
                @task={{this.copySigninUrl}}
                @successText="Link copied"
                @disabled="true"
                @class="gh-btn gh-btn-blue gh-btn-icon" />
            {{/if}}
        </div>
    </fieldset>
</div>

<div>
    <p class="tc pt4 mb2">This link is only valid for the next <strong>24 hours</strong></p>
</div>
{'fraction_non_alphanumeric': 0.15156667476317706, 'fraction_numerical': 0.009472917172698566, 'mean_word_length': 2.1873065015479876, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '5990256', 'n_tokens_mistral': 1300, 'n_tokens_neox': 1203, 'n_words': 292}