KEYCLOAK-84 add totp remove button functionality
This commit is contained in:
1 parent
91c5fe5e4e
commit
a0808ad224
4 files changed
+19
-1
No files matched your search
@@ -120,6 +120,10 @@ public class UrlBean {
|
||||
return Urls.accountTotpPage(baseURI, realm.getId()).toString();
|
||||
}
|
||||
|
||||
public String getTotpRemoveUrl() {
|
||||
return Urls.accountTotpRemove(baseURI, realm.getId()).toString();
|
||||
}
|
||||
|
||||
public String getEmailVerificationUrl() {
|
||||
return Urls.accountEmailVerification(baseURI, realm.getId()).toString();
|
||||
}
|
||||
|
||||
@@ -22,7 +22,9 @@
|
||||
<tr>
|
||||
<td class="provider"><span class="social googleplus">Google</span></td>
|
||||
<td class="soft">Connected as john@google.com</td>
|
||||
<td class="action"><a href="user-totp-setup.html" class="button">Remove Google</a></td>
|
||||
<td class="action">
|
||||
<a href="${url.totpRemoveUrl}" class="button">Remove Google</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in new issue
Block a user