Skip to content

Commit 0fc5231

Browse files
authored
Merge pull request #203 from tvdeyen/fix-login-error-redirect
Disable Turbo Drive on login form
2 parents d8afea3 + 7602f32 commit 0fc5231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/alchemy/admin/user_sessions/new.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="login_signup_box">
22
<%= image_tag 'alchemy/alchemy-logo.svg', id: 'logo' %>
3-
<%= alchemy_form_for :user, url: {action: 'create'}, id: 'login' do |f| %>
3+
<%= alchemy_form_for :user, url: {action: 'create'}, id: 'login', data: { turbo: false } do |f| %>
44
<%= f.input Devise.authentication_keys.first, autofocus: true %>
55
<%= f.input :password %>
66
<div class="input link">

0 commit comments

Comments
 (0)