A
A
Anton Misyagin2018-09-06 09:37:19
Ruby on Rails
Anton Misyagin, 2018-09-06 09:37:19

Device sign_in via GET?

How to log in to the application through the link with a password and TIN?
Gemfile routes.rb
gem 'devise', '4.4.3'

get 'войти/:inn/:password', to: 'devise/sessions#create', as: :sign_in_get

PS: How to enter with a password and TIN through a post request is understandable

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artur Bordenyuk, 2018-09-06
@HighQuality

Why did you decide to log in with GET? It is not safe.
Search engines, browsers and services remember these links. And they walk on them to make a preview, look at the content, changes in it, and much more.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question