feat(HomeController): LogInEnvelope-Methode aktualisiert, um show-envelope-view zu senden, wenn der Client die FullyAuth-Rolle hat
This commit is contained in:
parent
0090fc0dfa
commit
b4154b60a7
@ -349,6 +349,10 @@ public class HomeController : ViewControllerBase
|
||||
}
|
||||
var er_secret = er_secret_res.Data;
|
||||
|
||||
// show envelope if already logged in
|
||||
if (User.IsInRole(ReceiverRole.FullyAuth))
|
||||
return await CreateShowEnvelopeView(envelopeReceiverId, er_secret);
|
||||
|
||||
if (auth.HasMulti)
|
||||
{
|
||||
return Unauthorized();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user