mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Account management - Final tweaks
This commit is contained in:
1 parent
a2fe5d5d08
commit
38a1318170
4 files changed
+42
-32
No files matched your search
@@ -123,7 +123,7 @@ internal class AuthenticationService : CorePropertyChanged, IAuthenticationServi
|
||||
public IObservable<Claim?> GetClaim(string type)
|
||||
{
|
||||
return _claims.Connect()
|
||||
.Filter(c => c.Type == JwtClaimTypes.Email)
|
||||
.Filter(c => c.Type == type)
|
||||
.ToCollection()
|
||||
.Select(f => f.FirstOrDefault());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user