The code in sessions#create reads,
session[:name] = request.env['omniauth.auth']['info']['nick-name']
but should read,
session[:name] = request.env['omniauth.auth']['info']['name']
As a result the session is not correctly updated and the conditional statements in the home page are not triggered so that the diagnostic data is never shown.
Canvas Link
https://learning.flatironschool.com/courses/1881/assignments/125548?module_item_id=259465
Concern
The code in sessions#create reads, session[:name] = request.env['omniauth.auth']['info']['nick-name'] but should read, session[:name] = request.env['omniauth.auth']['info']['name'] As a result the session is not correctly updated and the conditional statements in the home page are not triggered so that the diagnostic data is never shown.
Additional Context
No response
Suggested Changes
No response