|
|
|
@ -20,9 +20,7 @@ class GitsController < ApplicationController
|
|
|
|
|
uid_logger("git start auth: input_username is #{input_username}")
|
|
|
|
|
|
|
|
|
|
# Git 超级权限用户
|
|
|
|
|
logger.info("666666666: a: #{input_username}, b: #{gituser}, c #{input_password} , d #{gitpassword}}")
|
|
|
|
|
if input_username == gituser && input_password == gitpassword
|
|
|
|
|
|
|
|
|
|
if input_username.strip == gituser.strip && input_password.strip == gitpassword.strip
|
|
|
|
|
result = true
|
|
|
|
|
else
|
|
|
|
|
# 用户是否对对象拥有权限
|
|
|
|
|