mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Users API: Add roles (#1914)
* API: Fix create user response model * API: Add roles to user data
This commit is contained in:
@@ -21,5 +21,10 @@ namespace BTCPayServer.Client.Models
|
||||
/// whether the user needed to verify their email on account creation
|
||||
/// </summary>
|
||||
public bool RequiresEmailConfirmation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// the roles of the user
|
||||
/// </summary>
|
||||
public string[] Roles { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user