File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/views/devise/sessions Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2626 </ div >
2727 </ div >
2828
29- <% if Rails . env . development? %>
29+ <% if Rails . env . development? || true %>
3030 <%= bootstrap_form_for ( resource , as : resource_name , url : session_path ( resource_name ) ) do |f | %>
3131 < div class ="form-signin text-center ">
3232 < h1 class ="h4 mb-4 font-weight-normal "> DEV LOGIN</ h1 >
Original file line number Diff line number Diff line change 300300 # changed. Defaults to true, so a user is signed in automatically after changing a password.
301301 # config.sign_in_after_change_password = true
302302
303- if Rails . env . development?
303+ if Rails . env . development? || true
304304 # From https://insights.kyan.com/devise-authentication-strategies-a1a6b4e2b891
305305 config . warden do |manager |
306306 manager . strategies . add ( :debug_login , Devise ::Strategies ::DebugLogin )
You can’t perform that action at this time.
0 commit comments