Backend functionality to let managers update users password

The back button when the user changes the password
(in the print password page) redirects to the
edit manually page.

The routes to access password edit pages has been added,
along with the ones to send reset password email and
reset password manually.
This commit is contained in:
iagirre
2018-03-23 08:57:30 +01:00
parent 3a62fc9bda
commit e8b91356b3
5 changed files with 34 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ class Management::DocumentVerificationsController < Management::BaseController
def set_document
session[:document_type] = params[:document_verification][:document_type]
session[:document_number] = params[:document_verification][:document_number]
clear_password
end
def clean_document_number