<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[User gets 500 error if you delete a logged in user]]></title><description><![CDATA[<p dir="auto">Hey there,</p>
<p dir="auto">I noticed what looks like an unhandled edge case around deleted users with active sessions.</p>
<p dir="auto">I started a fresh instance using:</p>
<pre><code class="language-bash">podman run -d --name=proget --restart=unless-stopped -p 80:80 proget.inedo.com/productimages/inedo/proget:latest
</code></pre>
<p dir="auto">Then I:</p>
<ol>
<li>Created a user <code>test:test</code></li>
<li>Logged in as <code>test:test</code> in an incognito browser session</li>
<li>Deleted the user from the original admin session</li>
<li>Refreshed the page in the incognito session</li>
</ol>
<p dir="auto">Instead of being redirected to the login page, I get an HTTP 500 error.</p>
<p dir="auto">I would have expected the session to be invalidated and the user to be redirected back to the login page since the account no longer exists.</p>
]]></description><link>https://forums.inedo.com/topic/5777/user-gets-500-error-if-you-delete-a-logged-in-user</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 22:57:44 GMT</lastBuildDate><atom:link href="https://forums.inedo.com/topic/5777.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 12 Jun 2026 14:09:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to User gets 500 error if you delete a logged in user on Fri, 12 Jun 2026 14:13:07 GMT]]></title><description><![CDATA[<p dir="auto">Hey there,</p>
<p dir="auto">I noticed what looks like an unhandled edge case around deleted users with active sessions.</p>
<p dir="auto">I started a fresh instance using:</p>
<pre><code class="language-bash">podman run -d --name=proget --restart=unless-stopped -p 80:80 proget.inedo.com/productimages/inedo/proget:latest
</code></pre>
<p dir="auto">Then I:</p>
<ol>
<li>Created a user <code>test:test</code></li>
<li>Logged in as <code>test:test</code> in an incognito browser session</li>
<li>Deleted the user from the original admin session</li>
<li>Refreshed the page in the incognito session</li>
</ol>
<p dir="auto">Instead of being redirected to the login page, I get an HTTP 500 error.</p>
<p dir="auto">I would have expected the session to be invalidated and the user to be redirected back to the login page since the account no longer exists.</p>
]]></description><link>https://forums.inedo.com/post/19786</link><guid isPermaLink="true">https://forums.inedo.com/post/19786</guid><dc:creator><![CDATA[pg_user_8607]]></dc:creator><pubDate>Fri, 12 Jun 2026 14:13:07 GMT</pubDate></item><item><title><![CDATA[Reply to User gets 500 error if you delete a logged in user on Fri, 12 Jun 2026 16:18:48 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Thanks for reporting this; this behavior is by design.</p>
<p dir="auto">ProGet uses authentication tickets (i.e. encrypted cookies). If the username on a valid ticket cannot be located in the user directory, then a "user not found" error will occur, as it did here.</p>
<p dir="auto">This errant behavior is generally desired for troubleshooting cases where users are intermittently not available from a user directory. Otherwise it's very difficult to troubleshoot, since it will just appear as a random log-out.</p>
<p dir="auto">Thanks,<br />
Steve</p>
]]></description><link>https://forums.inedo.com/post/19788</link><guid isPermaLink="true">https://forums.inedo.com/post/19788</guid><dc:creator><![CDATA[stevedennis]]></dc:creator><pubDate>Fri, 12 Jun 2026 16:18:48 GMT</pubDate></item></channel></rss>