pr improvements
This commit is contained in:
@@ -61,7 +61,7 @@ class GitConnectionController extends Controller
|
||||
} catch (Throwable) {
|
||||
return back()
|
||||
->withErrors([
|
||||
'api_token' => ((string) config('app.name')).' could not authenticate against Gitea with this base URL and token.',
|
||||
'api_token' => sprintf('%s could not authenticate against Gitea with this base URL and token.', config('app.name')),
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -99,7 +99,7 @@ class GitConnectionController extends Controller
|
||||
} catch (Throwable) {
|
||||
return back()
|
||||
->withErrors([
|
||||
'api_token' => ((string) config('app.name')).' could not authenticate against Gitea with this base URL and token.',
|
||||
'api_token' => sprintf('%s could not authenticate against Gitea with this base URL and token.', config('app.name')),
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user