Return a 401
error code
This commit is contained in:
parent
0984637faf
commit
e925dddea7
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ module API
|
|||
end
|
||||
|
||||
def provider_unauthorized
|
||||
error!("Access denied to your #{Gitlab::ImportSources.title(provider.to_s)} account.", 500)
|
||||
error!("Access denied to your #{Gitlab::ImportSources.title(provider.to_s)} account.", 401)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue