Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #261 from 501stLegionA3/hob-profile-button
Browse files Browse the repository at this point in the history
Added Profile Button
  • Loading branch information
Soyvolon authored Oct 11, 2021
2 parents fc1fb93 + 48635a6 commit ed31fc6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,29 @@ private async Task<Trooper> EnsureUser(Trooper trooper, string password)
new("Display", "554433 LinkTest")
},
new()
{
"Trooper"
}),
(new Trooper()
{
Id = 34554,
BirthNumber = 34554,
UserName = "Hobnob",
NickName = "Hobnob",
SecurityStamp = Guid.NewGuid().ToString(),
Role = Role.Pilot,
Slot = Slot.RazorTwoOne,
Flight = Flight.Bravo,
Team = null,
StartOfService = DateTime.Now,
LastPromotion = DateTime.Now,
PFP = Convert.FromBase64String("iVBORw0KGgoAAAANSUhEUgAAAHAAAABwCAYAAADG4PRLAAAas0lEQVR4nOx9CXRURdb/r5JOIIR0ErJAVgIJa4AoO/IBQkBgQFxA/FjcGEDHv44zf0dUXEbHdRRHZ3TgoDJsDgoiCkJURBhFVoEIiCABYnayhySELCT1nVt59Xzd6e708jpJO/md0yd5r9+rrle/urfuvXWrnoFzjnZ4LrxauwLtcA3tBHo42gn0cLQT6OFoJ9DD0U6gh6OdQA9HO4EejnYCPRztBHo42gn0cLQT6OFoJ9DD0U6gh6OdQA9HO4EejnYCPRztBHo42gn0cLQT6OFoJ9DDYWjtCtgDxpgPgHAAtwPoAyARwCUAHwNYwzm/2tp1bC2wtpxWyBgLBjAPwN0Ahli5bC2Ae3hbfhB3gp67LX2IN+WzBEAOVVH7GTigPx9//Rhudn6W7IxKGaRZ/hfAPwCcAHAYwOzWfja3tFdrV8ACgTcCSNcS5OPjw2dMn8q/2ZPCy4oyxGfLh+u1BJYA6AFgJID3ANSZE6981mmJ/jV8Wr0CGuJCAaw2b/Tp06bwA9/uVInTfp5c+ifttRcBNGjv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per"
})
Expand Down
1 change: 1 addition & 0 deletions FiveOhFirstDataCore/Local/NavMenu.razor
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
</button>
<div id="login-menu" class="collapse">
<div class="text-small dropdown-menu-dark shadow p-2">
<a href="trooper/me" class="dropdown-item">Profile</a>
<form method="post" action="Identity/Account/LogOut">
<button type="submit" class="dropdown-item">Log out</button>
</form>
Expand Down

0 comments on commit ed31fc6

Please sign in to comment.