Skip to content
This repository was archived by the owner on Mar 17, 2023. It is now read-only.

Commit 370e9ed

Browse files
committed
logout fix
1 parent c2fe365 commit 370e9ed

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Source/Services/RPSLS.Web/Pages/Index.razor

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,16 @@
128128
Username = string.Empty;
129129
}
130130

131+
if (!string.IsNullOrWhiteSpace(CustomUsername))
132+
{
133+
CustomUsername = string.Empty;
134+
}
135+
136+
if (IsTwitterUser)
137+
{
138+
IsTwitterUser = false;
139+
}
140+
131141
NavigationManager.NavigateTo("/", true);
132142
}
133143
}

0 commit comments

Comments
 (0)