# File lib/omniauth/strategies/password.rb, line 17 def request_phase return fail!(:missing_information) unless request[:identifier] && request[:password] return fail!(:password_mismatch) if request[:password_confirmation] && request[:password_confirmation] != '' && request[:password] != request[:password_confirmation] env['REQUEST_METHOD'] = 'GET' env['PATH_INFO'] = request.path + '/callback' request['auth'] = auth_hash(encrypt(request[:identifier], request[:password])) @app.call(env) end