feat(HomeController): LogInEnvelope-Methode aktualisiert, um show-envelope-view zu senden, wenn der Client die FullyAuth-Rolle hat

This commit is contained in:
Developer 02 2025-02-11 15:47:27 +01:00
parent 0090fc0dfa
commit b4154b60a7

View File

@ -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();