mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-30 16:58:38 +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
|
||||
? this.StatusCode(403, "")
|
||||
: 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.License}\n");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue