Skip to content

Commit

Permalink
[improvement] Unmask OTP in Email OTP UI by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Achintha Isuru committed Jan 3, 2024
1 parent b040478 commit 95d84e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/odd-news-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/identity-apps-core": patch
---

[improvement] Unmask OTP in Email OTP UI by default
Original file line number Diff line number Diff line change
Expand Up @@ -209,25 +209,25 @@
<span id="OTPDescription" style="display: none;">Enter your OTP</span>
<div class="ui fluid icon input addon-wrapper">
<input
type="password"
type="text"
id='OTPCode'
name="OTPCode"
c size='30'
aria-describedby="OTPDescription"/>
<i id="password-eye" class="eye icon right-align password-toggle" onclick="showOTPCode()"></i>
<i id="password-eye" class="eye icon right-align password-toggle slash" onclick="showOTPCode()"></i>
</div>
<% } else { %>
<div class="field">
<label><%=AuthenticationEndpointUtil.i18n(resourceBundle, "enter.code")%>
:</label>
<div class="ui fluid icon input addon-wrapper">
<input
type="password"
type="text"
id='OTPCode'
name="OTPCode"
size='30'
aria-describedby="OTPDescription"/>
<i id="password-eye" class="eye icon right-align password-toggle" onclick="showOTPCode()"></i>
<i id="password-eye" class="eye icon right-align password-toggle slash" onclick="showOTPCode()"></i>
</div>
<% } %>
</div>
Expand Down

0 comments on commit 95d84e3

Please sign in to comment.