add oauth2 token managment, partial password change, bugfixes
This commit is contained in:
parent
6c388c8129
commit
6334c993a9
19 changed files with 236 additions and 137 deletions
|
|
@ -77,6 +77,27 @@ window.fido2 = {
|
|||
|
||||
}
|
||||
}
|
||||
window.password_change= {
|
||||
init: function(){
|
||||
var form = $('form');
|
||||
SimpleFormSubmit.submitForm(form.action, form)
|
||||
.then(response =>{
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
window.oauth2_token = {
|
||||
revoke: function(href, id){
|
||||
var dialog = new ConfirmDialog(`Are you sure to revoke all tokens from client "${id}"?`);
|
||||
dialog.show().then(()=>{
|
||||
fetch(href, {
|
||||
method: 'DELETE'
|
||||
});
|
||||
});
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
window.client_cert = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue