diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb
index 4a7541d78..56c3a3a38 100644
--- a/app/views/devise/sessions/new.html.erb
+++ b/app/views/devise/sessions/new.html.erb
@@ -19,7 +19,7 @@
<%= f.submit t(".log_in"), class: "btn w-full font-bold text-center btn-green" %>
- <%#= render "devise/shared/links" %>
+ <%= render "devise/shared/links" %>
<% end %>
diff --git a/app/views/devise/shared/_links.html.erb b/app/views/devise/shared/_links.html.erb
index 85a31af59..51180ccd0 100644
--- a/app/views/devise/shared/_links.html.erb
+++ b/app/views/devise/shared/_links.html.erb
@@ -17,9 +17,9 @@
<% end %>
diff --git a/config/routes.rb b/config/routes.rb
index 7de991fc5..032254e84 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -8,9 +8,9 @@
# end
mount Sidekiq::Web => "/sidekiq"
- # devise_for :users, only: :omniauth_callbacks,
- # controllers: { omniauth_callbacks:
- # "users/omniauth_callbacks" }
+ devise_for :users, only: :omniauth_callbacks,
+ controllers: { omniauth_callbacks:
+ "users/omniauth_callbacks" }
get "/", to: "application#redirection", as: :root_redirection
@@ -19,7 +19,7 @@
end
scope "/(:locale)", locale: /uk|en/ do
- devise_for :users, only: [:session]
+ devise_for :users, only: [:session], skip: [:omniauth_callbacks, :registration]
# devise_for :users, skip: [:omniauth_callbacks, :registration]
# as :user do