@ -653,7 +653,6 @@ class ShixunsController < ApplicationController
content = params[:content]
author_name = current_user.full_name
author_email = current_user.git_mail
Rails.logger.info("111111#######{author_email}")
@content = update_file_content content, @repo_path, @path, author_email, author_name, "Edit by browser"
end
@ -157,7 +157,6 @@ class User < ApplicationRecord
def git_mail
Rails.logger.info("111111#######{mail} #222222222####{login}")
mail || "#{login}@educoder.net"