mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-01 09:48:37 +00:00
Ignore Unreachable code warning
This commit is contained in:
parent
5511c12631
commit
b867cf1d8c
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ namespace LBPUnion.ProjectLighthouse.Controllers {
|
||||||
return user == null
|
return user == null
|
||||||
? this.StatusCode(403, "")
|
? this.StatusCode(403, "")
|
||||||
: this.Ok($"You are now logged in as user {user.Username} (id {user.UserId}).\n" +
|
: this.Ok($"You are now logged in as user {user.Username} (id {user.UserId}).\n" +
|
||||||
|
// ReSharper disable once UnreachableCode
|
||||||
(EulaHelper.ShowPrivateInstanceNotice ? "\n" + EulaHelper.PrivateInstanceNotice : "") + "\n" +
|
(EulaHelper.ShowPrivateInstanceNotice ? "\n" + EulaHelper.PrivateInstanceNotice : "") + "\n" +
|
||||||
$"{EulaHelper.License}\n");
|
$"{EulaHelper.License}\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue