<ol class="task-list">
<li>It didn't work, the code only checked the <code>remember_me</code> parameter, not the <code>remember_me_openid</code> one. I've verified this by checking the cookies that it set: checking the normal login "Remember me" button sets a cookie valid for 28 days (even when actually using OpenID), checking only the other "Remember me" button set a cookie that was valid for only the current session.</li>
<li>The HTML element did not have a unique id, making the label next to it not work for selecting the checkbox. Fixed this by renaming the outer <code><div></code> with the same id to <code>remember_me_openid_div</code>.</li>
</ol>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/886'>https://github.com/openstreetmap/openstreetmap-website/pull/886</a></p>
<h4>Commit Summary</h4>
<ul>
<li>Fix two issues with the remember_me_openid button</li>
</ul>
<h4>File Changes</h4>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/886/files#diff-0">app/controllers/user_controller.rb</a>
(3)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/886/files#diff-1">app/views/user/login.html.erb</a>
(2)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/886.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/886.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/886.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/886.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/openstreetmap/openstreetmap-website/pull/886">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABWnLXuDz0dk_2-17PCm_ZgjhC92XFt3ks5nnSRxgaJpZM4DZ79J.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/openstreetmap/openstreetmap-website/pull/886"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>