Add first basic code for external hooks

This commit is contained in:
Jan Oberhauser
2020-05-04 08:56:01 +02:00
parent 582ff76799
commit a380a9a394
7 changed files with 126 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
export = {
credentials: {
new: [
() => {
// Here any additional code can run or the creation blocked
throw new Error('No additional credentials can be created.');
},
],
},
};