diff --git a/src/main/java/org/olat/core/commons/services/sms/ui/SMSPhoneController.java b/src/main/java/org/olat/core/commons/services/sms/ui/SMSPhoneController.java index 0c56350ff8439589a517024bd54b2c81a78c9e74..dcedbc4b60f43aef649773c696011b676d693d0a 100644 --- a/src/main/java/org/olat/core/commons/services/sms/ui/SMSPhoneController.java +++ b/src/main/java/org/olat/core/commons/services/sms/ui/SMSPhoneController.java @@ -94,6 +94,7 @@ public class SMSPhoneController extends FormBasicController implements SupportsA public boolean isUserInteractionRequired(UserRequest ureq) { return messageModule.isEnabled() && messageModule.isResetPasswordEnabled() && !ureq.getUserSession().getRoles().isGuestOnly() + && !ureq.getUserSession().getRoles().isInvitee() && !messageService.validate(ureq.getIdentity().getUser().getProperty(UserConstants.SMSTELMOBILE, getLocale())); }