Skip to content

Commit 199032b

Browse files
committed
delete changeMFA
1 parent ac8158a commit 199032b

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

packages/lib/auth0.cfc

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -233,21 +233,6 @@ component {
233233
return;
234234
}
235235

236-
public any function changeMFA(required string mfaId, boolean redirectEnrol=true) {
237-
var token = getAuthToken();
238-
239-
var result = makeRequest(
240-
method = "DELETE",
241-
endpoint = "/api/v2/guardian/enrollments/#arguments.mfaId#",
242-
token = token
243-
);
244-
if(redirectEnrol){
245-
var redirectURL = application.fc.lib.auth0.getMfaEnrollURL(redirectURL=application.fapi.getLink(type="a0Login", includeDomain=true, bSecure=true));
246-
location(url=redirectURL);
247-
}
248-
return;
249-
}
250-
251236
public struct function getUser(required string userID) {
252237
var token = getAuthToken();
253238

0 commit comments

Comments
 (0)