qpixel icon indicating copy to clipboard operation
qpixel copied to clipboard

Add more information to "remember me" button on sign-in

Open cellio opened this issue 2 years ago • 5 comments

https://meta.codidact.com/posts/287702

When you sign in you can check a box labelled "remember me". This can mean a few different things across the web -- have the browser remember your username, stay signed in (for a period of time or "forever"), maybe other things. Can we adjust the text to be more specific about what we mean?

I believe (based on my experience) that we mean "stay signed in (unless you lose your cookies)". I've seen "stay signed in on this device" elsewhere.

Changing the text next to that box is presumably easy, but I do want to confirm what it does first.

cellio avatar May 16 '23 01:05 cellio

Huh, I can't find this text, though I did find a reference to Devise::Controllers::Rememberable so it's possible it's baked into some library we're using?

cellio avatar Feb 19 '24 21:02 cellio

Text should be in app/views/devise/sessions, IIRC

ArtOfCode- avatar Feb 27 '24 04:02 ArtOfCode-

Text should be in app/views/devise/sessions, IIRC

It is, but it's indirect:

  <% if devise_mapping.rememberable? %>
    <div class="form-group">
      <%= f.label :remember_me, class: "form-element" %>
      <%= f.check_box :remember_me, class: "form-radio-element" %>
    </div>
  <% end %>

I haven't found where the string is set for :remember_me.

cellio avatar Feb 28 '24 03:02 cellio