Increase user full_name max length to 64 characters (#403)

This commit is contained in:
Riccardo Graziosi
2024-09-07 18:10:45 +02:00
committed by GitHub
parent 3c6b885391
commit 5decb702f2
6 changed files with 11 additions and 8 deletions

View File

@@ -94,6 +94,7 @@ class OAuthsController < ApplicationController
@user_email = query_path_from_object(user_profile, @o_auth.json_user_email_path)
if not @o_auth.json_user_name_path.blank?
@user_name = query_path_from_object(user_profile, @o_auth.json_user_name_path)
@user_name = @user_name || I18n.t('defaults.user_full_name')
end
@o_auth_login_completed = (not @user_email.blank?)